org.openejb.core.ivm.naming
Class ParsedName
java.lang.Object
org.openejb.core.ivm.naming.ParsedName
- All Implemented Interfaces:
- java.io.Serializable
public class ParsedName
- extends java.lang.Object
- implements java.io.Serializable
This class represents a compound path name; a path made of several atomic names.
It provides an interface for navigating the components sequentially. This class
assumes that the path separator is a '\' character. The "java:" component of a
JNDI ENC path must be striped out of the path before it used to construct an
instance of this class.
- See Also:
- Serialized Form
Constructor Summary |
ParsedName(java.lang.String path)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ParsedName
public ParsedName(java.lang.String path)
getComponent
public java.lang.String getComponent()
next
public boolean next()
reset
public void reset()
compareTo
public int compareTo(int otherHash)
getComponentHashCode
public int getComponentHashCode()
compareTo
public int compareTo(java.lang.String other)
main
public static void main(java.lang.String[] args)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 1999-2011 OpenEJB. All Rights Reserved.