public class AntlrSchemaParser extends antlr.LLkParser implements AntlrSchemaTokenTypes
Modifier and Type | Field and Description |
---|---|
static String[] |
_tokenNames |
astFactory, inputState, returnAST, tokenNames, tokenTypeToASTClassMap, traceDepth
ABSTRACT, APPLIES, ATTRIBUTETYPE, AUX, AUX_OR_AUXILIARY, AUXILIARY, BYTECODE, BYTECODE_VALUE, COLLECTIVE, DESC, DIRECTORY_OPERATION, DISTRIBUTED_OPERATION, DOLLAR, DSA_OPERATION, EOF, EQUALITY, EXTENSION, FORM, FQCN, FQCN_IDENTIFIER, FQCN_LETTER, FQCN_LETTERORDIGIT, FQCN_VALUE, LBRACKET, LEN, LPAR, MAY, MUST, NAME, NO_USER_MODIFICATION, NOT, NULL_TREE_LOOKAHEAD, OBJECTCLASS, OBJECTIDENTIFIER, OBSOLETE, OC, ORDERING, QUOTE, QUOTED_STRING, RBRACKET, RPAR, SINGLE_VALUE, STARTNUMERICOID, STRUCTURAL, SUBSTR, SUP, SYNTAX, UNQUOTED_STRING, USAGE, USER_APPLICATIONS, VALUE, VALUES, WHSP
Modifier | Constructor and Description |
---|---|
|
AntlrSchemaParser(antlr.ParserSharedInputState state) |
|
AntlrSchemaParser(antlr.TokenBuffer tokenBuf) |
protected |
AntlrSchemaParser(antlr.TokenBuffer tokenBuf,
int k) |
|
AntlrSchemaParser(antlr.TokenStream lexer) |
protected |
AntlrSchemaParser(antlr.TokenStream lexer,
int k) |
Modifier and Type | Method and Description |
---|---|
MutableAttributeType |
attributeTypeDescription()
Production for matching attribute type descriptions.
|
DitContentRule |
ditContentRuleDescription()
Production for DIT content rule descriptions.
|
DitStructureRule |
ditStructureRuleDescription()
Production for DIT structure rules descriptions.
|
org.apache.directory.api.ldap.model.schema.syntaxes.AntlrSchemaParser.Extension |
extension(String s) |
boolean |
isQuirksMode() |
LdapComparatorDescription |
ldapComparator()
Production for comparator descriptions.
|
LdapSyntax |
ldapSyntaxDescription()
Production for matching ldap syntax descriptions.
|
MutableMatchingRule |
matchingRuleDescription()
Production for matching rule descriptions.
|
MatchingRuleUse |
matchingRuleUseDescription()
Production for matching rule use descriptions.
|
NameForm |
nameFormDescription()
Production for name form descriptions.
|
org.apache.directory.api.ldap.model.schema.syntaxes.AntlrSchemaParser.NoidLen |
noidlen(String s) |
NormalizerDescription |
normalizerDescription()
Production for normalizer descriptions.
|
String |
numericoid(String s) |
MutableObjectClass |
objectClassDescription()
Production for matching object class descriptions.
|
String |
oid(String s) |
List<String> |
oids(String s) |
AttributeType |
openLdapAttributeType() |
ObjectClass |
openLdapObjectClass() |
OpenLdapObjectIdentifierMacro |
openLdapObjectIdentifier() |
List<Object> |
openLdapSchema() |
String |
qdescr(String s) |
List<String> |
qdescrs(String s) |
String |
qdstring(String s) |
List<String> |
qdstrings(String s) |
Integer |
ruleid(String s) |
List<Integer> |
ruleids(String s) |
void |
setParserMonitor(ParserMonitor monitor) |
void |
setQuirksMode(boolean enabled) |
SyntaxCheckerDescription |
syntaxCheckerDescription()
Production for syntax checker descriptions.
|
addMessageListener, addParserListener, addParserMatchListener, addParserTokenListener, addSemanticPredicateListener, addSyntacticPredicateListener, addTraceListener, consumeUntil, consumeUntil, defaultDebuggingSetup, getAST, getASTFactory, getFilename, getInputState, getTokenName, getTokenNames, getTokenTypeToASTClassMap, isDebugMode, mark, match, match, matchNot, panic, recover, removeMessageListener, removeParserListener, removeParserMatchListener, removeParserTokenListener, removeSemanticPredicateListener, removeSyntacticPredicateListener, removeTraceListener, reportError, reportError, reportWarning, rewind, setASTFactory, setASTNodeClass, setASTNodeType, setDebugMode, setFilename, setIgnoreInvalidDebugCalls, setInputState, setTokenBuffer, traceIndent
public static final String[] _tokenNames
protected AntlrSchemaParser(antlr.TokenBuffer tokenBuf, int k)
public AntlrSchemaParser(antlr.TokenBuffer tokenBuf)
protected AntlrSchemaParser(antlr.TokenStream lexer, int k)
public AntlrSchemaParser(antlr.TokenStream lexer)
public AntlrSchemaParser(antlr.ParserSharedInputState state)
public void setParserMonitor(ParserMonitor monitor)
public void setQuirksMode(boolean enabled)
public boolean isQuirksMode()
public final List<Object> openLdapSchema() throws antlr.RecognitionException, antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
public final OpenLdapObjectIdentifierMacro openLdapObjectIdentifier() throws antlr.RecognitionException, antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
public final AttributeType openLdapAttributeType() throws antlr.RecognitionException, antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
public final ObjectClass openLdapObjectClass() throws antlr.RecognitionException, antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
public final MutableObjectClass objectClassDescription() throws antlr.RecognitionException, antlr.TokenStreamException
ObjectClassDescription = LPAREN WSP numericoid ; object identifier [ SP "NAME" SP qdescrs ] ; short names (descriptors) [ SP "DESC" SP qdstring ] ; description [ SP "OBSOLETE" ] ; not active [ SP "SUP" SP oids ] ; superior object classes [ SP kind ] ; kind of class [ SP "MUST" SP oids ] ; attribute types [ SP "MAY" SP oids ] ; attribute types extensions WSP RPAREN kind = "ABSTRACT" / "STRUCTURAL" / "AUXILIARY" extensions = *( SP xstring SP qdstrings ) xstring = "X" HYPHEN 1*( ALPHA / HYPHEN / USCORE )
antlr.RecognitionException
antlr.TokenStreamException
public final MutableAttributeType attributeTypeDescription() throws antlr.RecognitionException, antlr.TokenStreamException
AttributeTypeDescription = LPAREN WSP numericoid ; object identifier [ SP "NAME" SP qdescrs ] ; short names (descriptors) [ SP "DESC" SP qdstring ] ; description [ SP "OBSOLETE" ] ; not active [ SP "SUP" SP oid ] ; supertype [ SP "EQUALITY" SP oid ] ; equality matching rule [ SP "ORDERING" SP oid ] ; ordering matching rule [ SP "SUBSTR" SP oid ] ; substrings matching rule [ SP "SYNTAX" SP noidlen ] ; value syntax [ SP "SINGLE-VALUE" ] ; single-value [ SP "COLLECTIVE" ] ; collective [ SP "NO-USER-MODIFICATION" ] ; not user modifiable [ SP "USAGE" SP usage ] ; usage extensions WSP RPAREN ; extensions usage = "userApplications" / ; user "directoryOperation" / ; directory operational "distributedOperation" / ; DSA-shared operational "dSAOperation" ; DSA-specific operational extensions = *( SP xstring SP qdstrings ) xstring = "X" HYPHEN 1*( ALPHA / HYPHEN / USCORE )
antlr.RecognitionException
antlr.TokenStreamException
public final LdapSyntax ldapSyntaxDescription() throws antlr.RecognitionException, antlr.TokenStreamException
SyntaxDescription = LPAREN WSP numericoid ; object identifier [ SP "DESC" SP qdstring ] ; description extensions WSP RPAREN ; extensions
antlr.RecognitionException
antlr.TokenStreamException
public final MutableMatchingRule matchingRuleDescription() throws antlr.RecognitionException, antlr.TokenStreamException
MatchingRuleDescription = LPAREN WSP numericoid ; object identifier [ SP "NAME" SP qdescrs ] ; short names (descriptors) [ SP "DESC" SP qdstring ] ; description [ SP "OBSOLETE" ] ; not active SP "SYNTAX" SP numericoid ; assertion syntax extensions WSP RPAREN ; extensions
antlr.RecognitionException
antlr.TokenStreamException
public final MatchingRuleUse matchingRuleUseDescription() throws antlr.RecognitionException, antlr.TokenStreamException
MatchingRuleUseDescription = LPAREN WSP numericoid ; object identifier [ SP "NAME" SP qdescrs ] ; short names (descriptors) [ SP "DESC" SP qdstring ] ; description [ SP "OBSOLETE" ] ; not active SP "APPLIES" SP oids ; attribute types extensions WSP RPAREN ; extensions
antlr.RecognitionException
antlr.TokenStreamException
public final DitContentRule ditContentRuleDescription() throws antlr.RecognitionException, antlr.TokenStreamException
DITContentRuleDescription = LPAREN WSP numericoid ; object identifier [ SP "NAME" SP qdescrs ] ; short names (descriptors) [ SP "DESC" SP qdstring ] ; description [ SP "OBSOLETE" ] ; not active [ SP "AUX" SP oids ] ; auxiliary object classes [ SP "MUST" SP oids ] ; attribute types [ SP "MAY" SP oids ] ; attribute types [ SP "NOT" SP oids ] ; attribute types extensions WSP RPAREN ; extensions
antlr.RecognitionException
antlr.TokenStreamException
public final DitStructureRule ditStructureRuleDescription() throws antlr.RecognitionException, antlr.TokenStreamException
DITStructureRuleDescription = LPAREN WSP ruleid ; rule identifier [ SP "NAME" SP qdescrs ] ; short names (descriptors) [ SP "DESC" SP qdstring ] ; description [ SP "OBSOLETE" ] ; not active SP "FORM" SP oid ; NameForm [ SP "SUP" ruleids ] ; superior rules extensions WSP RPAREN ; extensions ruleids = ruleid / ( LPAREN WSP ruleidlist WSP RPAREN ) ruleidlist = ruleid *( SP ruleid ) ruleid = number
antlr.RecognitionException
antlr.TokenStreamException
public final NameForm nameFormDescription() throws antlr.RecognitionException, antlr.TokenStreamException
NameFormDescription = LPAREN WSP numericoid ; object identifier [ SP "NAME" SP qdescrs ] ; short names (descriptors) [ SP "DESC" SP qdstring ] ; description [ SP "OBSOLETE" ] ; not active SP "OC" SP oid ; structural object class SP "MUST" SP oids ; attribute types [ SP "MAY" SP oids ] ; attribute types extensions WSP RPAREN ; extensions
antlr.RecognitionException
antlr.TokenStreamException
public final LdapComparatorDescription ldapComparator() throws antlr.RecognitionException, antlr.TokenStreamException
LdapComparator = LPAREN WSP numericoid ; object identifier [ SP "DESC" SP qdstring ] ; description SP "FQCN" SP fqcn ; fully qualified class name [ SP "BYTECODE" SP base64 ] ; optional base64 encoded bytecode extensions WSP RPAREN ; extensions base64 = *(4base64-char) base64-char = ALPHA / DIGIT / "+" / "/" fqcn = fqcnComponent 1*( DOT fqcnComponent ) fqcnComponent = ???
antlr.RecognitionException
antlr.TokenStreamException
public final NormalizerDescription normalizerDescription() throws antlr.RecognitionException, antlr.TokenStreamException
NormalizerDescription = LPAREN WSP numericoid ; object identifier [ SP "DESC" SP qdstring ] ; description SP "FQCN" SP fqcn ; fully qualified class name [ SP "BYTECODE" SP base64 ] ; optional base64 encoded bytecode extensions WSP RPAREN ; extensions base64 = *(4base64-char) base64-char = ALPHA / DIGIT / "+" / "/" fqcn = fqcnComponent 1*( DOT fqcnComponent ) fqcnComponent = ???
antlr.RecognitionException
antlr.TokenStreamException
public final SyntaxCheckerDescription syntaxCheckerDescription() throws antlr.RecognitionException, antlr.TokenStreamException
SyntaxCheckerDescription = LPAREN WSP numericoid ; object identifier [ SP "DESC" SP qdstring ] ; description SP "FQCN" SP fqcn ; fully qualified class name [ SP "BYTECODE" SP base64 ] ; optional base64 encoded bytecode extensions WSP RPAREN ; extensions base64 = *(4base64-char) base64-char = ALPHA / DIGIT / "+" / "/" fqcn = fqcnComponent 1*( DOT fqcnComponent ) fqcnComponent = ???
antlr.RecognitionException
antlr.TokenStreamException
public final org.apache.directory.api.ldap.model.schema.syntaxes.AntlrSchemaParser.NoidLen noidlen(String s) throws antlr.RecognitionException, antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
public final org.apache.directory.api.ldap.model.schema.syntaxes.AntlrSchemaParser.Extension extension(String s) throws antlr.RecognitionException, antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
public final String numericoid(String s) throws antlr.RecognitionException, antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
public final String oid(String s) throws antlr.RecognitionException, antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
public final List<String> oids(String s) throws antlr.RecognitionException, antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
public final String qdescr(String s) throws antlr.RecognitionException, antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
public final List<String> qdescrs(String s) throws antlr.RecognitionException, antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
public final String qdstring(String s) throws antlr.RecognitionException, antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
public final List<String> qdstrings(String s) throws antlr.RecognitionException, antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
public final Integer ruleid(String s) throws antlr.RecognitionException, antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
Copyright © 2003–2014 The Apache Software Foundation. All rights reserved.