|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.directory.shared.ldap.name.DnParser
A distinguished name parser which generates JNDI Ldap exception on error.
Constructor Summary | |
DnParser()
Creates a regular non normalizing name parser. |
|
DnParser(NameComponentNormalizer a_normalizer)
Creates a normalizing name parser. |
Method Summary | |
boolean |
isNormizing()
Tests to see if this parser is normalizing. |
javax.naming.Name |
parse(java.lang.String name)
Parses a name as a String into a Name object. |
javax.naming.Name |
parse(java.lang.String name,
LdapName emptyName)
Parses a name as a String into an existing Name object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DnParser() throws javax.naming.NamingException
LdapNamingException
- if there is a problem creating the pipe
javax.naming.NamingException
public DnParser(NameComponentNormalizer a_normalizer) throws javax.naming.NamingException
a_normalizer
- the name component value normaliser used
LdapNamingException
- if there is a problem creating the pipe
javax.naming.NamingException
Method Detail |
public boolean isNormizing()
public javax.naming.Name parse(java.lang.String name, LdapName emptyName) throws javax.naming.NamingException
name
- the distinguished name as a string.emptyName
- the empty LdapName to be populated or null.
javax.naming.NamingException
- if a_name is invalid or the parsers plumbing breakspublic javax.naming.Name parse(java.lang.String name) throws javax.naming.NamingException
parse
in interface javax.naming.NameParser
javax.naming.NamingException
NameParser.parse(java.lang.String)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |