Package org.glassfish.jndi.cosnaming
Class CNNameParser.CNCompoundName
- java.lang.Object
-
- javax.naming.CompoundName
-
- org.glassfish.jndi.cosnaming.CNNameParser.CNCompoundName
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable,java.lang.Comparable<java.lang.Object>,javax.naming.Name
- Enclosing class:
- CNNameParser
static final class CNNameParser.CNCompoundName extends javax.naming.CompoundNameAn implementation of CompoundName that bypasses the parsing and stringifying code of the default CompoundName.
-
-
Field Summary
Fields Modifier and Type Field Description private static longserialVersionUID
-
Constructor Summary
Constructors Constructor Description CNCompoundName(java.util.Enumeration<java.lang.String> enum_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectclone()javax.naming.NamegetPrefix(int posn)javax.naming.NamegetSuffix(int posn)java.lang.StringtoString()
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Method Detail
-
clone
public java.lang.Object clone()
- Specified by:
clonein interfacejavax.naming.Name- Overrides:
clonein classjavax.naming.CompoundName
-
getPrefix
public javax.naming.Name getPrefix(int posn)
- Specified by:
getPrefixin interfacejavax.naming.Name- Overrides:
getPrefixin classjavax.naming.CompoundName
-
getSuffix
public javax.naming.Name getSuffix(int posn)
- Specified by:
getSuffixin interfacejavax.naming.Name- Overrides:
getSuffixin classjavax.naming.CompoundName
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjavax.naming.CompoundName
-
-