javax.naming
Interface NameParser


public interface NameParser

Parser the string representation of the given name into the Name representation.

See Also:
Context.getNameParser(String), Context.getNameParser(Name)

Method Summary
 Name parse(String name)
          Parser the string name representation into the Name representation
 

Method Detail

parse

Name parse(String name)
           throws NamingException
Parser the string name representation into the Name representation

Parameters:
name - the string representation of the name
Returns:
the Name representation of the name.
Throws:
InvalidNameException - if the name violates the syntax, expected by this parser
NamingException - if some other naming exception occurs