Spring LDAP Framework

org.springframework.ldap.core
Class DnParserImpl

java.lang.Object
  extended by org.springframework.ldap.core.DnParserImpl
All Implemented Interfaces:
DnParser, DnParserImplConstants

public class DnParserImpl
extends Object
implements DnParser, DnParserImplConstants


Field Summary
 Token jj_nt
           
 Token token
           
 DnParserImplTokenManager token_source
           
 
Fields inherited from interface org.springframework.ldap.core.DnParserImplConstants
ALPHA, ATTRIBUTE_TYPE_STRING, ATTRVALUE, ATTRVALUE_S, BACKSLASHCHAR, DEFAULT, DIGIT, EOF, ESCAPEDSPACE, ESCAPEDSTART, HASHCHAR, HEXCHAR, HEXPAIR, LDAP_OID, PAIR, QUOTECHAR, SPACE, SPACED_EQUALS, SPACED_EQUALS_S, SPECIAL, STRINGCHAR, STRINGEND, STRINGENDCHAR, tokenImage
 
Constructor Summary
DnParserImpl(DnParserImplTokenManager tm)
           
DnParserImpl(InputStream stream)
           
DnParserImpl(InputStream stream, String encoding)
           
DnParserImpl(Reader stream)
           
 
Method Summary
 String AttributeType()
           
 LdapRdnComponent attributeTypeAndValue()
           
 String AttributeValue()
           
 void disable_tracing()
           
 DistinguishedName dn()
          Parse a full Distinguished Name.
 void enable_tracing()
           
 ParseException generateParseException()
           
 Token getNextToken()
           
 Token getToken(int index)
           
 void input()
          input -> dn dn -> rdn ( ( "," | ";" ) rdn )* rdn -> attributeTypeAndValue ( "+" attributeTypeAndValue )* attributeTypeAndValue -> ( )* AttributeType SpacedEquals AttributeValue ( )* SpacedEquals -> AttributeType -> | AttributeValue ->
 LdapRdn rdn()
          Parse a Relative Distinguished Name.
 void ReInit(DnParserImplTokenManager tm)
           
 void ReInit(InputStream stream)
           
 void ReInit(InputStream stream, String encoding)
           
 void ReInit(Reader stream)
           
 void SpacedEquals()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

token_source

public DnParserImplTokenManager token_source

token

public Token token

jj_nt

public Token jj_nt
Constructor Detail

DnParserImpl

public DnParserImpl(InputStream stream)

DnParserImpl

public DnParserImpl(InputStream stream,
                    String encoding)

DnParserImpl

public DnParserImpl(Reader stream)

DnParserImpl

public DnParserImpl(DnParserImplTokenManager tm)
Method Detail

input

public final void input()
                 throws ParseException
input -> dn dn -> rdn ( ( "," | ";" ) rdn )* rdn -> attributeTypeAndValue ( "+" attributeTypeAndValue )* attributeTypeAndValue -> ( )* AttributeType SpacedEquals AttributeValue ( )* SpacedEquals -> AttributeType -> | AttributeValue ->

Throws:
ParseException

dn

public final DistinguishedName dn()
                           throws ParseException
Description copied from interface: DnParser
Parse a full Distinguished Name.

Specified by:
dn in interface DnParser
Returns:
the DistinguishedName corresponding to the parsed stream.
Throws:
ParseException

rdn

public final LdapRdn rdn()
                  throws ParseException
Description copied from interface: DnParser
Parse a Relative Distinguished Name.

Specified by:
rdn in interface DnParser
Returns:
the next rdn on the stream.
Throws:
ParseException

attributeTypeAndValue

public final LdapRdnComponent attributeTypeAndValue()
                                             throws ParseException
Throws:
ParseException

SpacedEquals

public final void SpacedEquals()
                        throws ParseException
Throws:
ParseException

AttributeType

public final String AttributeType()
                           throws ParseException
Throws:
ParseException

AttributeValue

public final String AttributeValue()
                            throws ParseException
Throws:
ParseException

ReInit

public void ReInit(InputStream stream)

ReInit

public void ReInit(InputStream stream,
                   String encoding)

ReInit

public void ReInit(Reader stream)

ReInit

public void ReInit(DnParserImplTokenManager tm)

getNextToken

public final Token getNextToken()

getToken

public final Token getToken(int index)

generateParseException

public ParseException generateParseException()

enable_tracing

public final void enable_tracing()

disable_tracing

public final void disable_tracing()

Spring LDAP Framework

Copyright © 2006-2009 The Spring LDAP Framework. All Rights Reserved.