Index (Frames) | Index (No Frames) | Package | Package Tree | Tree
javax.naming

Class CompositeName

java.lang.Object
|
+--javax.naming.CompositeName

All Implemented Interfaces:

Name, Cloneable, Serializable


public class CompositeName

extends Object

implements Name, Cloneable, Serializable

Author:

Constructor Summary

CompositeName()

CompositeName(java.util.Enumeration comps)

CompositeName(java.lang.String n)

Method Summary

javax.naming.Nameadd(int posn, java.lang.String comp)

javax.naming.Nameadd(java.lang.String comp)

javax.naming.NameaddAll(int posn, javax.naming.Name n)

javax.naming.NameaddAll(javax.naming.Name suffix)

java.lang.Objectclone()

intcompareTo(java.lang.Object obj)

booleanendsWith(javax.naming.Name n)

booleanequals(java.lang.Object obj)

java.lang.Stringget(int posn)

java.util.EnumerationgetAll()

javax.naming.NamegetPrefix(int posn)

javax.naming.NamegetSuffix(int posn)

inthashCode()

booleanisEmpty()

java.lang.Objectremove(int posn)

intsize()

booleanstartsWith(javax.naming.Name n)

java.lang.StringtoString()

Constructor Details

CompositeName

public CompositeName()

Author:

CompositeName

public CompositeName(java.lang.String n)

Parameters:


CompositeName

protected CompositeName(java.util.Enumeration comps)

Parameters:


Method Details

add

public Name add(int posn, java.lang.String comp)

Parameters:


add

public Name add(java.lang.String comp)

Parameters:


addAll

public Name addAll(int posn, javax.naming.Name n)

Parameters:


addAll

public Name addAll(javax.naming.Name suffix)

Parameters:


clone

public Object clone()


compareTo

public int compareTo(java.lang.Object obj)

Parameters:


endsWith

public boolean endsWith(javax.naming.Name n)

Parameters:


equals

public boolean equals(java.lang.Object obj)

Parameters:


get

public String get(int posn)

Parameters:


getAll

public Enumeration getAll()


getPrefix

public Name getPrefix(int posn)

Parameters:


getSuffix

public Name getSuffix(int posn)

Parameters:


hashCode

public int hashCode()


isEmpty

public boolean isEmpty()


remove

public Object remove(int posn)

Parameters:


size

public int size()


startsWith

public boolean startsWith(javax.naming.Name n)

Parameters:


toString

public String toString()