Package org.springframework.ldap.core
Class DnParserImpl
java.lang.Object
org.springframework.ldap.core.DnParserImpl
- All Implemented Interfaces:
- DnParser,- DnParserImplConstants
- 
Field SummaryFieldsModifier and TypeFieldDescriptionNext token.Current token.Generated Token Manager.Fields inherited from interface org.springframework.ldap.core.DnParserImplConstantsALPHA, ATTRIBUTE_TYPE_STRING, ATTRVALUE, ATTRVALUE_S, BACKSLASHCHAR, DEFAULT, DIGIT, EOF, ESCAPEDSTART, HASHCHAR, HEXCHAR, HEXPAIR, LDAP_OID, LEADCHAR, PAIR, QUOTECHAR, SPACE, SPACED_EQUALS, SPACED_EQUALS_S, SPECIAL, STRINGCHAR, tokenImage, TRAILCHAR
- 
Constructor SummaryConstructorsConstructorDescriptionDnParserImpl(InputStream stream) Constructor with InputStream.DnParserImpl(InputStream stream, String encoding) Constructor with InputStream and supplied encodingDnParserImpl(Reader stream) Constructor.Constructor with generated Token Manager.
- 
Method SummaryModifier and TypeMethodDescriptionfinal Stringfinal LdapRdnComponentfinal Stringfinal voidDisable tracing.final DistinguishedNamedn()Parse a full Distinguished Name.final voidEnable tracing.Generate ParseException.final TokenGet the next Token.final TokengetToken(int index) Get the specific Token.final voidinput()input -> dn dn -> rdn ( ( "," | ";" ) rdn )* rdn -> attributeTypeAndValue ( "+" attributeTypeAndValue )* attributeTypeAndValue -> ( <SPACE> )* AttributeType SpacedEquals AttributeValue ( <SPACE> )* SpacedEquals -> <SPACED_EQUALS> AttributeType -> <LDAP_OID> | <ATTRIBUTE_TYPE_STRING> AttributeValue -> <ATTRVALUE>final LdapRdnrdn()Parse a Relative Distinguished Name.voidReInit(InputStream stream) Reinitialise.voidReInit(InputStream stream, String encoding) Reinitialise.voidReinitialise.voidReinitialise.final void
- 
Field Details- 
token_sourceGenerated Token Manager.
- 
tokenCurrent token.
- 
jj_ntNext token.
 
- 
- 
Constructor Details- 
DnParserImplConstructor with InputStream.
- 
DnParserImplConstructor with InputStream and supplied encoding
- 
DnParserImplConstructor.
- 
DnParserImplConstructor with generated Token Manager.
 
- 
- 
Method Details- 
inputinput -> dn dn -> rdn ( ( "," | ";" ) rdn )* rdn -> attributeTypeAndValue ( "+" attributeTypeAndValue )* attributeTypeAndValue -> ( <SPACE> )* AttributeType SpacedEquals AttributeValue ( <SPACE> )* SpacedEquals -> <SPACED_EQUALS> AttributeType -> <LDAP_OID> | <ATTRIBUTE_TYPE_STRING> AttributeValue -> <ATTRVALUE>- Throws:
- ParseException
 
- 
dnDescription copied from interface:DnParserParse a full Distinguished Name.- Specified by:
- dnin interface- DnParser
- Returns:
- the DistinguishedNamecorresponding to the parsed stream.
- Throws:
- ParseException
 
- 
rdnDescription copied from interface:DnParserParse a Relative Distinguished Name.- Specified by:
- rdnin interface- DnParser
- Returns:
- the next rdn on the stream.
- Throws:
- ParseException
 
- 
attributeTypeAndValue- Throws:
- ParseException
 
- 
SpacedEquals- Throws:
- ParseException
 
- 
AttributeType- Throws:
- ParseException
 
- 
AttributeValue- Throws:
- ParseException
 
- 
ReInitReinitialise.
- 
ReInitReinitialise.
- 
ReInitReinitialise.
- 
ReInitReinitialise.
- 
getNextTokenGet the next Token.
- 
getTokenGet the specific Token.
- 
generateParseExceptionGenerate ParseException.
- 
enable_tracingpublic final void enable_tracing()Enable tracing.
- 
disable_tracingpublic final void disable_tracing()Disable tracing.
 
-