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

Class CompoundName

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

All Implemented Interfaces:

Name, Cloneable, Serializable


public class CompoundName

extends Object

implements Name, Cloneable, Serializable

Author:

Field Summary

transient java.util.PropertiesmySyntax

Constructor Summary

CompoundName(java.util.Enumeration comps, java.util.Properties syntax)

CompoundName(java.lang.String n, java.util.Properties syntax)

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()

Field Details

mySyntax

protected transient Properties mySyntax


Constructor Details

CompoundName

public CompoundName(java.lang.String n, java.util.Properties syntax)

Parameters:


CompoundName

protected CompoundName(java.util.Enumeration comps, java.util.Properties syntax)

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()