FileDocCategorySizeDatePackage
NameParser.javaAPI DocJava SE 5 API1187Fri Aug 26 14:57:40 BST 2005javax.naming

NameParser

public interface NameParser
This interface is used for parsing names from a hierarchical namespace. The NameParser contains knowledge of the syntactic information (like left-to-right orientation, name separator, etc.) needed to parse names. The equals() method, when used to compare two NameParsers, returns true if and only if they serve the same namespace.
author
Rosanna Lee
author
Scott Seligman
version
1.8 04/05/05
see
CompoundName
see
Name
since
1.3

Fields Summary
Constructors Summary
Methods Summary
public javax.naming.Nameparse(java.lang.String name)
Parses a name into its components.

param
name The non-null string name to parse.
return
A non-null parsed form of the name using the naming convention of this parser.
exception
InvalidNameException If name does not conform to syntax defined for the namespace.
exception
NamingException If a naming exception was encountered.