updateProfile.parserClass parameter

Use the updateProfile.parserClass parameter to set or query the class name for a document parser.  A parser class name must be a Java class that implements the com.ibm.lpex.core.LpexParser interface.

 

Availability

query command
set command
current parameter
default parameter
install parameter

 

Scope

updateProfile.parserClass.parser is scoped to the current view.
current.updateProfile.parserClass.parser is scoped to the current view.
default.updateProfile.parserClass.parser is globally scoped.
install.updateProfile.parserClass.parser is globally scoped.

 

Syntax

query updateProfile.parserClass.parser
set updateProfile.parserClass.parser { default
                                     | [ className ]
                                     }
query current.updateProfile.parserClass.parser
query default.updateProfile.parserClass.parser
set default.updateProfile.parserClass.parser { install
                                             | [ className ]
                                             }
query install.updateProfile.parserClass.parser 

 

Parameters

parser Use the parser parameter to specify the document parser name.
default If you specify the default parameter for the set updateProfile.parserClass.parser command, the current view will use the value of default.updateProfile.parserClass.parser to determine the class name for the document parser indicated by parser when the updateProfile command is issued.
className If you specify the className parameter for the set updateProfile.parserClass.parser command, the updateProfile command will use className as the class name for the document parser indicated by parser for the current view.  If you specify the className parameter for the set default.updateProfile.parserClass.parser command, the updateProfile command will use className as the class name for the document parser indicated by parser for all document views that have the updateProfile.parserClass.parser parameter set to default.  The className parameter should be the name of a Java class that implements the com.ibm.lpex.core.LpexParser interface.
install If you specify the install parameter for the set default.updateProfile.parserClass.parser command, all views with updateProfile.parserClass.parser set to default will use the value of install.updateProfile.parserClass.parser to determine the class name for the document parser indicated by parser when the updateProfile command is issued.

 

Description

The query current.updateProfile.parserClass.parser command returns the class name that the updateProfile command will use, for the current view, for the document parser specified by parser.

If you do not specify any parameters for the set updateProfile.parserClass.parser command, the specified document parser will not be available, for the current view, to the updateProfile command.

If you do not specify any parameters for the set default.updateProfile.parserClass.parser command, the specified document parser will not be available, for all document views that have updateProfile.parserClass.parser set to default, to the updateProfile command.

 

Examples

query updateProfile.parserClass.java
set updateProfile.parserClass.java com.ibm.lpex.java.JavaParser
set updateProfile.parserClass.java default
set updateProfile.parserClass.java
query current.updateProfile.parserClass.java
query default.updateProfile.parserClass.java
set default.updateProfile.parserClass.java com.ibm.lpex.java.JavaParser
set default.updateProfile.parserClass.java install
set default.updateProfile.parserClass.java
query install.updateProfile.parserClass.java 

Related reference
query command
set command
updateProfile command
parser parameter
updateProfile.extensions parameter
updateProfile.noParser parameter
updateProfile.parserAssociation parameter
updateProfile.parsers parameter
updateProfile.parser parameter