org.ow2.jonas.lib.naming
Class ComponentNameParser

java.lang.Object
  extended by org.ow2.jonas.lib.naming.ComponentNameParser
All Implemented Interfaces:
NameParser

public class ComponentNameParser
extends Object
implements NameParser

Basic name parser used for java:comp naming space.


Constructor Summary
ComponentNameParser()
           
 
Method Summary
 Name parse(String name)
          Parse 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

ComponentNameParser

public ComponentNameParser()
Method Detail

parse

public Name parse(String name)
           throws NamingException
Parse a name into its components.

Specified by:
parse in interface 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:
NamingException - If a naming exception was encountered.


Copyright © 2010 OW2 Consortium. All Rights Reserved.