API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.naming. Name View Source
Author(s)
Rosanna Lee
Scott Seligman
R. Vasudevan
Since
1.3
Version
1.12 05/11/17
Serial
Hierarchy
 Cloneable
      Name
Subinterfaces
Description
public interface Name
  The Name interface represents a generic name -- an ordered sequence of components.
See also:   
Methods
Hide/Show inherited methods
public Name add (int posn, String comp) throws InvalidNameException
  Adds a single component at a specified position within this name.
public Name add (String comp) throws InvalidNameException
  Adds a single component to the end of this name.
public Name addAll (int posn, Name n) throws InvalidNameException
  Adds the components of a name -- in order -- at a specified position within this name.
public Name addAll (Name suffix) throws InvalidNameException
  Adds the components of a name -- in order -- to the end of this name.
public Object clone ()
  Generates a new copy of this name.
public int compareTo (Object obj)
  Compares this name with another name for order.
public boolean endsWith (Name n)
  Determines whether this name ends with a specified suffix.
public String get (int posn)
  Retrieves a component of this name.
public Enumeration<String> getAll ()
  Retrieves the components of this name as an enumeration of strings.
public Name getPrefix (int posn)
  Creates a name whose components consist of a prefix of the components of this name.
public Name getSuffix (int posn)
  Creates a name whose components consist of a suffix of the components in this name.
public boolean isEmpty ()
  Determines whether this name is empty.
public Object remove (int posn) throws InvalidNameException
  Removes a component from this name.
public int size ()
  Returns the number of components in this name.
public boolean startsWith (Name n)
  Determines whether this name starts with a specified prefix.
Fields
Hide/Show inherited fields
publicfinalstatic long serialVersionUID = "-3617482732056931635"
The class fingerprint that is set to indicate serialization compatibility with a previous version of the class.
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar