API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.naming. CompoundName View Source
Author(s)
Rosanna Lee
Scott Seligman
Since
1.3
Version
1.12 05/11/17
Serial
Hierarchy
 Object
      CompoundName
Implements
 Name
Subclasses
Description
public class CompoundName
  This class represents a compound name -- a name from a hierarchical name space.
See also:   
Constructors
protected CompoundName (Enumeration<String> comps, Properties syntax)
  Constructs a new compound name instance using the components specified in comps and syntax.
public CompoundName (String n, Properties syntax) throws InvalidNameException
  Constructs a new compound name instance by parsing the string n using the syntax specified by the syntax properties supplied.
Methods
Hide/Show inherited methods
public Name add (int posn, String comp) throws InvalidNameException [Specified in Name]
  Adds a single component at a specified position within this compound name.
public Name add (String comp) throws InvalidNameException [Specified in Name]
  Adds a single component to the end of this compound name.
public Name addAll (int posn, Name n) throws InvalidNameException [Specified in Name]
  Adds the components of a compound name -- in order -- at a specified position within this compound name.
public Name addAll (Name suffix) throws InvalidNameException [Specified in Name]
  Adds the components of a compound name -- in order -- to the end of this compound name.
public Object clone () [Specified in Name]
  Creates a copy of this compound name.
public int compareTo (Object obj) [Specified in Name]
  Compares this CompoundName with the specified Object for order.
public boolean endsWith (Name n) [Specified in Name]
  Determines whether a compound name is a suffix of this compound name.
public boolean equals (Object obj)
  Determines whether obj is syntactically equal to this compound name.
public String get (int posn) [Specified in Name]
  Retrieves a component of this compound name.
public Enumeration<String> getAll () [Specified in Name]
  Retrieves the components of this compound name as an enumeration of strings.
public Name getPrefix (int posn) [Specified in Name]
  Creates a compound name whose components consist of a prefix of the components in this compound name.
public Name getSuffix (int posn) [Specified in Name]
  Creates a compound name whose components consist of a suffix of the components in this compound name.
public int hashCode ()
  Computes the hash code of this compound name.
public boolean isEmpty () [Specified in Name]
  Determines whether this compound name is empty.
public Object remove (int posn) throws InvalidNameException [Specified in Name]
  Deletes a component from this compound name.
public int size () [Specified in Name]
  Retrieves the number of components in this compound name.
public boolean startsWith (Name n) [Specified in Name]
  Determines whether a compound name is a prefix of this compound name.
public String toString ()
  Generates the string representation of this compound name, using the syntax rules of the compound name.
Fields
Hide/Show inherited fields
protectedtransient NameImpl impl
  Implementation of this compound name.
protectedtransient Properties mySyntax
  Syntax properties for this compound name.
publicfinalstatic long serialVersionUID = "-3617482732056931635" [Inherited From Name]
The class fingerprint that is set to indicate serialization compatibility with a previous version of the class.
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar