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.CompoundName
An implementation of CompoundName that bypasses the parsing and stringifying code of the default CompoundName.
-
-
Field Summary
Fields Modifier and Type Field Description private static long
serialVersionUID
-
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.Object
clone()
javax.naming.Name
getPrefix(int posn)
javax.naming.Name
getSuffix(int posn)
java.lang.String
toString()
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Method Detail
-
clone
public java.lang.Object clone()
- Specified by:
clone
in interfacejavax.naming.Name
- Overrides:
clone
in classjavax.naming.CompoundName
-
getPrefix
public javax.naming.Name getPrefix(int posn)
- Specified by:
getPrefix
in interfacejavax.naming.Name
- Overrides:
getPrefix
in classjavax.naming.CompoundName
-
getSuffix
public javax.naming.Name getSuffix(int posn)
- Specified by:
getSuffix
in interfacejavax.naming.Name
- Overrides:
getSuffix
in classjavax.naming.CompoundName
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjavax.naming.CompoundName
-
-