com.caucho.naming
Class QName

java.lang.Object
  |
  +--com.caucho.naming.QName
All Implemented Interfaces:
java.lang.Cloneable, javax.naming.Name, java.io.Serializable

public class QName
extends java.lang.Object
implements javax.naming.Name

See Also:
Serialized Form

Field Summary
protected  javax.naming.Context context
           
 
Method Summary
 javax.naming.Name add(int posn, java.lang.String comp)
           
 javax.naming.Name add(java.lang.String comp)
           
 javax.naming.Name addAll(int posn, javax.naming.Name suffix)
           
 javax.naming.Name addAll(javax.naming.Name suffix)
           
 java.lang.Object clone()
           
 int compareTo(java.lang.Object rawB)
           
 boolean endsWith(javax.naming.Name name)
           
 java.lang.String get(int pos)
           
 java.util.Enumeration getAll()
           
 javax.naming.Name getPrefix(int posn)
           
 javax.naming.Name getSuffix(int posn)
           
 boolean isEmpty()
           
 java.lang.Object remove(int posn)
           
 int size()
           
 boolean startsWith(javax.naming.Name name)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

context

protected javax.naming.Context context
Method Detail

clone

public java.lang.Object clone()
Specified by:
clone in interface javax.naming.Name
Overrides:
clone in class java.lang.Object

compareTo

public int compareTo(java.lang.Object rawB)
Specified by:
compareTo in interface javax.naming.Name

size

public int size()
Specified by:
size in interface javax.naming.Name

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface javax.naming.Name

getAll

public java.util.Enumeration getAll()
Specified by:
getAll in interface javax.naming.Name

get

public java.lang.String get(int pos)
Specified by:
get in interface javax.naming.Name

getPrefix

public javax.naming.Name getPrefix(int posn)
Specified by:
getPrefix in interface javax.naming.Name

getSuffix

public javax.naming.Name getSuffix(int posn)
Specified by:
getSuffix in interface javax.naming.Name

startsWith

public boolean startsWith(javax.naming.Name name)
Specified by:
startsWith in interface javax.naming.Name

endsWith

public boolean endsWith(javax.naming.Name name)
Specified by:
endsWith in interface javax.naming.Name

addAll

public javax.naming.Name addAll(javax.naming.Name suffix)
                         throws javax.naming.InvalidNameException
Specified by:
addAll in interface javax.naming.Name

addAll

public javax.naming.Name addAll(int posn,
                                javax.naming.Name suffix)
                         throws javax.naming.InvalidNameException
Specified by:
addAll in interface javax.naming.Name

add

public javax.naming.Name add(java.lang.String comp)
                      throws javax.naming.InvalidNameException
Specified by:
add in interface javax.naming.Name

add

public javax.naming.Name add(int posn,
                             java.lang.String comp)
                      throws javax.naming.InvalidNameException
Specified by:
add in interface javax.naming.Name

remove

public java.lang.Object remove(int posn)
                        throws javax.naming.InvalidNameException
Specified by:
remove in interface javax.naming.Name

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object