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.
| Modifier and Type | Field and Description |
|---|---|
| public String | localpart
The qname localpart. |
| public String | prefix
The qname prefix. |
| public String | rawname
The qname rawname. |
| public String | uri
The URI to which the qname prefix is bound. |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public Object | |
| public boolean | equals(Object
the reference object with which to compare. object)Overrides java. |
| public int | |
| public void | |
| public void | |
| public String |
| localpart | back to summary |
|---|---|
| public String localpart The qname localpart. For example, the localpart for the qname "a:foo" is "foo". | |
| prefix | back to summary |
|---|---|
| public String prefix The qname prefix. For example, the prefix for the qname "a:foo" is "a". | |
| rawname | back to summary |
|---|---|
| public String rawname The qname rawname. For example, the rawname for the qname "a:foo" is "a:foo". | |
| uri | back to summary |
|---|---|
| public String uri The URI to which the qname prefix is bound. This binding must be performed by a XML Namespaces aware processor. | |
| QName | back to summary |
|---|---|
| public QName() Default constructor. | |
| QName | back to summary |
|---|---|
| public QName(String prefix, String localpart, String rawname, String uri) Constructs a QName with the specified values. | |
| QName | back to summary |
|---|---|
| public QName(QName qname) Constructs a copy of the specified QName. | |
| clear | back to summary |
|---|---|
| public void clear() Clears the values of the qname components. | |
| clone | back to summary |
|---|---|
| public Object clone() Overrides java. Returns a clone of this object.
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object object) Overrides java. Returns true if the two objects are equal.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Returns the hashcode for this object.
| |
| setValues | back to summary |
|---|---|
| public void setValues(QName qname) Convenience method to set the values of the qname components.
| |
| setValues | back to summary |
|---|---|
| public void setValues(String prefix, String localpart, String rawname, String uri) Convenience method to set the values of the qname components. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Returns a string representation of this object.
| |