API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.naming. CompositeName View Source
Author(s)
Rosanna Lee
Scott Seligman
Since
1.3
Version
1.15 05/11/17
Serial
Hierarchy
 Object
      CompositeName
Implements
 Name
Subclasses
Description
public class CompositeName
  This class represents a composite name -- a sequence of component names spanning multiple namespaces.
See also:   
Constructors
public CompositeName ()
  Constructs a new empty composite name.
protected CompositeName (Enumeration<String> comps)
  Constructs a new composite name instance using the components specified by 'comps'.
public CompositeName (String n) throws InvalidNameException
  Constructs a new composite name instance by parsing the string n using the composite name syntax (left-to-right, slash separated).
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 composite name.
public Name add (String comp) throws InvalidNameException [Specified in Name]
  Adds a single component to the end of this composite name.
public Name addAll (int posn, Name n) throws InvalidNameException [Specified in Name]
  Adds the components of a composite name -- in order -- at a specified position within this composite name.
public Name addAll (Name suffix) throws InvalidNameException [Specified in Name]
  Adds the components of a composite name -- in order -- to the end of this composite name.
public Object clone () [Specified in Name]
  Generates a copy of this composite name.
public int compareTo (Object obj) [Specified in Name]
  Compares this CompositeName with the specified Object for order.
public boolean endsWith (Name n) [Specified in Name]
  Determines whether a composite name is a suffix of this composite name.
public boolean equals (Object obj)
  Determines whether two composite names are equal.
public String get (int posn) [Specified in Name]
  Retrieves a component of this composite name.
public Enumeration<String> getAll () [Specified in Name]
  Retrieves the components of this composite name as an enumeration of strings.
public Name getPrefix (int posn) [Specified in Name]
  Creates a composite name whose components consist of a prefix of the components in this composite name.
public Name getSuffix (int posn) [Specified in Name]
  Creates a composite name whose components consist of a suffix of the components in this composite name.
public int hashCode ()
  Computes the hash code of this composite name.
public boolean isEmpty () [Specified in Name]
  Determines whether this composite name is empty.
public Object remove (int posn) throws InvalidNameException [Specified in Name]
  Deletes a component from this composite name.
public int size () [Specified in Name]
  Retrieves the number of components in this composite name.
public boolean startsWith (Name n) [Specified in Name]
  Determines whether a composite name is a prefix of this composite name.
public String toString ()
  Generates the string representation of this composite name.
Fields
Hide/Show inherited fields
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