|
Spring LDAP | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.ldap.core.DnParserImpl
public class DnParserImpl
Field Summary | |
---|---|
Token |
jj_nt
Next token. |
Token |
token
Current token. |
DnParserImplTokenManager |
token_source
Generated Token Manager. |
Fields inherited from interface org.springframework.ldap.core.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 | |
---|---|
DnParserImpl(DnParserImplTokenManager tm)
Constructor with generated Token Manager. |
|
DnParserImpl(InputStream stream)
Constructor with InputStream. |
|
DnParserImpl(InputStream stream,
String encoding)
Constructor with InputStream and supplied encoding |
|
DnParserImpl(Reader stream)
Constructor. |
Method Summary | |
---|---|
String |
AttributeType()
|
LdapRdnComponent |
attributeTypeAndValue()
|
String |
AttributeValue()
|
void |
disable_tracing()
Disable tracing. |
DistinguishedName |
dn()
Parse a full Distinguished Name. |
void |
enable_tracing()
Enable tracing. |
ParseException |
generateParseException()
Generate ParseException. |
Token |
getNextToken()
Get the next Token. |
Token |
getToken(int index)
Get the specific Token. |
void |
input()
input -> dn dn -> rdn ( ( "," | ";" ) rdn )* rdn -> attributeTypeAndValue ( "+" attributeTypeAndValue )* attributeTypeAndValue -> ( |
LdapRdn |
rdn()
Parse a Relative Distinguished Name. |
void |
ReInit(DnParserImplTokenManager tm)
Reinitialise. |
void |
ReInit(InputStream stream)
Reinitialise. |
void |
ReInit(InputStream stream,
String encoding)
Reinitialise. |
void |
ReInit(Reader stream)
Reinitialise. |
void |
SpacedEquals()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public DnParserImplTokenManager token_source
public Token token
public Token jj_nt
Constructor Detail |
---|
public DnParserImpl(InputStream stream)
public DnParserImpl(InputStream stream, String encoding)
public DnParserImpl(Reader stream)
public DnParserImpl(DnParserImplTokenManager tm)
Method Detail |
---|
public final void input() throws ParseException
ParseException
public final DistinguishedName dn() throws ParseException
DnParser
dn
in interface DnParser
DistinguishedName
corresponding to the parsed
stream.
ParseException
public final LdapRdn rdn() throws ParseException
DnParser
rdn
in interface DnParser
ParseException
public final LdapRdnComponent attributeTypeAndValue() throws ParseException
ParseException
public final void SpacedEquals() throws ParseException
ParseException
public final String AttributeType() throws ParseException
ParseException
public final String AttributeValue() throws ParseException
ParseException
public void ReInit(InputStream stream)
public void ReInit(InputStream stream, String encoding)
public void ReInit(Reader stream)
public void ReInit(DnParserImplTokenManager tm)
public final Token getNextToken()
public final Token getToken(int index)
public ParseException generateParseException()
public final void enable_tracing()
public final void disable_tracing()
|
Spring LDAP | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |