Class DnParserImpl
java.lang.Object
org.springframework.ldap.core.DnParserImpl
- All Implemented Interfaces:
DnParser, DnParserImplConstants
@Deprecated
@NullUnmarked
public class DnParserImpl
extends Object
implements DnParser, DnParserImplConstants
Deprecated.
-
Field Summary
FieldsModifier and TypeFieldDescriptionDeprecated.Next token.Deprecated.Current token.Deprecated.Generated Token Manager.Fields inherited from interface DnParserImplConstants
ALPHA, 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 Summary
ConstructorsConstructorDescriptionDnParserImpl(InputStream stream) Deprecated.Constructor with InputStream.DnParserImpl(InputStream stream, String encoding) Deprecated.Constructor with InputStream and supplied encodingDnParserImpl(Reader stream) Deprecated.Constructor.Deprecated.Constructor with generated Token Manager. -
Method Summary
Modifier and TypeMethodDescriptionfinal StringDeprecated.final LdapRdnComponentDeprecated.final StringDeprecated.final voidDeprecated.Disable tracing.final DistinguishedNamedn()Deprecated.Parse a full Distinguished Name.final voidDeprecated.Enable tracing.Deprecated.Generate ParseException.final TokenDeprecated.Get the next Token.final TokengetToken(int index) Deprecated.Get the specific Token.final voidinput()Deprecated.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()Deprecated.Parse a Relative Distinguished Name.voidReInit(InputStream stream) Deprecated.Reinitialise.voidReInit(InputStream stream, String encoding) Deprecated.Reinitialise.voidDeprecated.Reinitialise.voidDeprecated.Reinitialise.final voidDeprecated.
-
Field Details
-
token_source
-
token
-
jj_nt
-
-
Constructor Details
-
DnParserImpl
-
DnParserImpl
Deprecated.Constructor with InputStream and supplied encoding -
DnParserImpl
-
DnParserImpl
Deprecated.Constructor with generated Token Manager.
-
-
Method Details
-
input
Deprecated.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>- Throws:
ParseException
-
dn
Deprecated.Description copied from interface:DnParserParse a full Distinguished Name.- Specified by:
dnin interfaceDnParser- Returns:
- the
DistinguishedNamecorresponding to the parsed stream. - Throws:
ParseException
-
rdn
Deprecated.Description copied from interface:DnParserParse a Relative Distinguished Name.- Specified by:
rdnin interfaceDnParser- Returns:
- the next rdn on the stream.
- Throws:
ParseException
-
attributeTypeAndValue
Deprecated.- Throws:
ParseException
-
SpacedEquals
-
AttributeType
-
AttributeValue
-
ReInit
-
ReInit
-
ReInit
-
ReInit
-
getNextToken
-
getToken
-
generateParseException
-
enable_tracing
public final void enable_tracing()Deprecated.Enable tracing. -
disable_tracing
public final void disable_tracing()Deprecated.Disable tracing.
-
LdapNamealong with utility methods inLdapUtilsinstead.