Package COM.activesw.api.client.adl
Class ADLParser
- java.lang.Object
-
- COM.activesw.api.client.adl.ADLParser
-
- All Implemented Interfaces:
ParserError
,ParserLexer
public class ADLParser extends java.lang.Object implements ParserError, ParserLexer
Handles the lexing, parsing, and errors for ADL.
-
-
Field Summary
Fields Modifier and Type Field Description static int
DONT_SET_AUTH_TYPE_FIELD
Using this value in the auth_type field of a BrokerTerritoryInfo instance signifies that it is not to be set when importing a territory using the BrokerCompleteTerritory class.static int
DONT_SET_REQUIRED_ENCRYPTION_FIELD
Using this value in the required_encryption field of a BrokerClientGroupInfo instance signifies that it is not to be set when importing a client declaration using the BrokerCompleteClient class.
-
Constructor Summary
Constructors Constructor Description ADLParser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Goal
getGoal()
void
parseADLFile(java.io.Reader reader)
void
parserError(Parser p, int severity, java.lang.String sevname, java.lang.String msg)
short
yylex(java.lang.Object lexrock, java.lang.Object yylval)
-
-
-
Field Detail
-
DONT_SET_REQUIRED_ENCRYPTION_FIELD
public static final int DONT_SET_REQUIRED_ENCRYPTION_FIELD
Using this value in the required_encryption field of a BrokerClientGroupInfo instance signifies that it is not to be set when importing a client declaration using the BrokerCompleteClient class. See also BrokerCompleteTerritory.- See Also:
- Constant Field Values
-
DONT_SET_AUTH_TYPE_FIELD
public static final int DONT_SET_AUTH_TYPE_FIELD
Using this value in the auth_type field of a BrokerTerritoryInfo instance signifies that it is not to be set when importing a territory using the BrokerCompleteTerritory class.- See Also:
- Constant Field Values
-
-
Method Detail
-
parseADLFile
public void parseADLFile(java.io.Reader reader) throws ParseException
- Throws:
ParseException
-
getGoal
public Goal getGoal()
-
yylex
public short yylex(java.lang.Object lexrock, java.lang.Object yylval)
- Specified by:
yylex
in interfaceParserLexer
-
parserError
public void parserError(Parser p, int severity, java.lang.String sevname, java.lang.String msg)
- Specified by:
parserError
in interfaceParserError
-
-