Save This Page
Home » openjdk-7 » javax » naming » [javadoc | source]
javax.naming
class: NameImpl [javadoc | source]
java.lang.Object
   javax.naming.NameImpl
The implementation class for CompoundName and CompositeName. This class is package private.
Constructor:
 NameImpl(Properties syntax) 
 NameImpl(Properties syntax,
    String n) throws InvalidNameException 
 NameImpl(Properties syntax,
    Enumeration comps) 
Method from javax.naming.NameImpl Summary:
add,   add,   addAll,   addAll,   compareTo,   endsWith,   equals,   get,   getAll,   getPrefix,   getSuffix,   hashCode,   isEmpty,   remove,   size,   startsWith,   toString
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from javax.naming.NameImpl Detail:
 public  void add(String comp) throws InvalidNameException 
 public  void add(int posn,
    String comp) throws InvalidNameException 
 public boolean addAll(Enumeration comps) throws InvalidNameException 
 public boolean addAll(int posn,
    Enumeration comps) throws InvalidNameException 
 public int compareTo(NameImpl obj) 
    Compares obj to this NameImpl to determine ordering. Takes into account syntactic properties such as elimination of blanks, case-ignore, etc, if relevant. Note: using syntax of this NameImpl and ignoring that of comparison target.
 public boolean endsWith(int posn,
    Enumeration suffix) 
 public boolean equals(Object obj) 
 public String get(int posn) 
 public Enumeration getAll() 
 public Enumeration getPrefix(int posn) 
 public Enumeration getSuffix(int posn) 
 public int hashCode() 
 public boolean isEmpty() 
 public Object remove(int posn) 
 public int size() 
 public boolean startsWith(int posn,
    Enumeration prefix) 
 public String toString()