javax.naming
public class CompoundName extends Object implements Name, Cloneable, Serializable
Since: 1.3
UNKNOWN: May 16, 2001 FIXME: this class is underspecified. For instance, the `flat' direction is never described. If it means that the CompoundName can only have a single element, then the Enumeration-based constructor ought to throw InvalidNameException.
Field Summary | |
---|---|
protected Properties | mySyntax |
Constructor Summary | |
---|---|
protected | CompoundName(Enumeration<String> comps, Properties syntax) |
CompoundName(String n, Properties syntax) |
Method Summary | |
---|---|
Name | add(int posn, String comp) |
Name | add(String comp) |
Name | addAll(int posn, Name n) |
Name | addAll(Name suffix) |
Object | clone() |
int | compareTo(Object obj) |
boolean | endsWith(Name n) |
boolean | equals(Object obj) |
String | get(int posn) |
Enumeration<String> | getAll() |
Name | getPrefix(int posn) |
Name | getSuffix(int posn) |
int | hashCode() |
boolean | isEmpty() |
Object | remove(int posn) |
int | size() |
boolean | startsWith(Name n) |
String | toString() |