|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--weblogic.apache.xerces.xni.QName
A structure that holds the components of an XML Namespaces qualified name.
To be used correctly, the strings must be identical references for
equal strings. Within the parser, these values are considered symbols
and should always be retrieved from the SymbolTable
.
SymbolTable
Field Summary | |
java.lang.String |
localpart
The qname localpart. |
java.lang.String |
prefix
The qname prefix. |
java.lang.String |
rawname
The qname rawname. |
java.lang.String |
uri
The URI to which the qname prefix is bound. |
Constructor Summary | |
QName()
Default constructor. |
|
QName(QName qname)
Constructs a copy of the specified QName. |
|
QName(java.lang.String prefix,
java.lang.String localpart,
java.lang.String rawname,
java.lang.String uri)
Constructs a QName with the specified values. |
Method Summary | |
void |
clear()
Clears the values of the qname components. |
java.lang.Object |
clone()
Returns a clone of this object. |
boolean |
equals(java.lang.Object object)
Returns true if the two objects are equal. |
int |
hashCode()
Returns the hashcode for this object. |
void |
setValues(QName qname)
Convenience method to set the values of the qname components. |
void |
setValues(java.lang.String prefix,
java.lang.String localpart,
java.lang.String rawname,
java.lang.String uri)
Convenience method to set the values of the qname components. |
java.lang.String |
toString()
Returns a string representation of this object. |
Methods inherited from class java.lang.Object |
finalize,
getClass,
notify,
notifyAll,
wait,
wait,
wait |
Field Detail |
public java.lang.String prefix
public java.lang.String localpart
public java.lang.String rawname
public java.lang.String uri
Constructor Detail |
public QName()
public QName(java.lang.String prefix, java.lang.String localpart, java.lang.String rawname, java.lang.String uri)
public QName(QName qname)
Method Detail |
public void setValues(QName qname)
QName
- The qualified name to be copied.public void setValues(java.lang.String prefix, java.lang.String localpart, java.lang.String rawname, java.lang.String uri)
prefix
- The qname prefix. (e.g. "a")localpart
- The qname localpart. (e.g. "foo")rawname
- The qname rawname. (e.g. "a:foo")uri
- The URI binding. (e.g. "http://foo.com/mybinding")public void clear()
public java.lang.Object clone()
public int hashCode()
public boolean equals(java.lang.Object object)
public java.lang.String toString()
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs81 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |