|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<FastDnParser>
org.apache.directory.shared.ldap.name.FastDnParser
public enum FastDnParser
A fast LDAP DN parser that handles only simple DNs. If the DN contains
any special character an TooComplexException is thrown.
| Enum Constant Summary | |
|---|---|
INSTANCE
|
|
| Method Summary | |
|---|---|
static NameParser |
getNameParser()
Gets the name parser singleton instance. |
Name |
parse(String name)
|
void |
parseDn(String name,
DN dn)
Parses the given name string and fills the given DN object. |
void |
parseRdn(String name,
RDN rdn)
Parses the given name string and fills the given Rdn object. |
static FastDnParser |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static FastDnParser[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final FastDnParser INSTANCE
| Method Detail |
|---|
public static FastDnParser[] values()
for (FastDnParser c : FastDnParser.values()) System.out.println(c);
public static FastDnParser valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic static NameParser getNameParser()
public Name parse(String name)
throws NamingException
parse in interface NameParserNamingException
public void parseDn(String name,
DN dn)
throws InvalidNameException
name - the name to parsedn - the DN to fill
InvalidNameException - the invalid name exception
public void parseRdn(String name,
RDN rdn)
throws InvalidNameException
name - the name to parserdn - the RDN to fill
InvalidNameException - the invalid name exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||