org.objectweb.carol.util.naming
Class SimpleNameParser

java.lang.Object
  extended byorg.objectweb.carol.util.naming.SimpleNameParser
All Implemented Interfaces:
javax.naming.NameParser

public class SimpleNameParser
extends java.lang.Object
implements javax.naming.NameParser

A very simple Compound Name parser

Author:
Florent Benoit (Refactoring)

Constructor Summary
SimpleNameParser()
           
 
Method Summary
 javax.naming.Name parse(java.lang.String name)
          Parses a name into its components.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleNameParser

public SimpleNameParser()
Method Detail

parse

public javax.naming.Name parse(java.lang.String name)
                        throws javax.naming.NamingException
Parses a name into its components.

Specified by:
parse in interface javax.naming.NameParser
Parameters:
name - The non-null string name to parse.
Returns:
A non-null parsed form of the name using the naming convention of this parser.
Throws:
javax.naming.NamingException - If a naming exception was encountered.