Name
CompoundName
Synopsis
This class represents a name that is made up of atomic names from a single name space.
public class CompoundName implements javax.naming.Name { // Public Constructors public CompoundName(String n, java.util.Properties syntax) throws InvalidNameException; // Protected Constructors protected CompoundName(java.util.Enumeration comps, java.util.Properties syntax); // Methods Implementing Name public javax.naming.Name add( String comp) throws InvalidNameException; public javax.naming.Name add(int posn, String comp) throws InvalidNameException; public javax.naming.Name addAll( javax.naming.Name suffix) throws InvalidNameException; public javax.naming.Name addAll(int posn, javax.naming.Name n) throws InvalidNameException; public Object clone(); public int compareTo( Object obj); public boolean endsWith( javax.naming.Name n); public String get( int posn); public java.util.Enumeration getAll(); public javax.naming.Name getPrefix( int posn); public javax.naming.Name getSuffix( int posn); public boolean isEmpty(); public Object remove( int posn) throws InvalidNameException; public int size(); public boolean startsWith( javax.naming.Name n); // Public Methods Overriding Object public boolean equals( Object obj); public int hashCode(); public String toString(); // Protected Instance Fields protected transient NameImpl impl; protected transient java.util.Properties
Get Java Enterprise in a Nutshell, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.