| java.lang.Object org.apache.xerces.utils.QName
QName | public class QName (Code) | | QName structure useful for gathering the parts of a qualified name.
author: Andy Clark version: $Id: QName.java,v 1.3 2001/02/01 09:58:28 andyc Exp $ |
Field Summary | |
public int | localpart Local part of qname. | public int | prefix Prefix. | public int | rawname Fully concatenated name. | public int | uri URI bound to prefix. |
Constructor Summary | |
public | QName() Default constructor. | public | QName(int prefix, int localpart, int rawname) Constructs a specified qname. | public | QName(int prefix, int localpart, int rawname, int uri) Constructs a specified qname. | public | QName(QName qname) Copy constructor. |
Method Summary | |
public void | clear() Clears all of the values. | public boolean | equals(Object object) Returns true if the two objects are equal. | public int | hashCode() Returns a hash code value. | public void | setValues(QName qname) Sets the values of the qualified name. | public void | setValues(int prefix, int localpart, int rawname) Sets the values of the qualified name. | public void | setValues(int prefix, int localpart, int rawname, int uri) Sets the values of the qualified name. | public String | toString() Returns a string representation of this object. | public String | toString(StringPool stringPool) Returns a string representation of this object. |
localpart | public int localpart(Code) | | Local part of qname.
|
prefix | public int prefix(Code) | | Prefix.
|
rawname | public int rawname(Code) | | Fully concatenated name.
|
uri | public int uri(Code) | | URI bound to prefix.
|
QName | public QName()(Code) | | Default constructor.
|
QName | public QName(int prefix, int localpart, int rawname)(Code) | | Constructs a specified qname.
|
QName | public QName(int prefix, int localpart, int rawname, int uri)(Code) | | Constructs a specified qname.
|
clear | public void clear()(Code) | | Clears all of the values.
|
equals | public boolean equals(Object object)(Code) | | Returns true if the two objects are equal.
|
hashCode | public int hashCode()(Code) | | Returns a hash code value.
|
setValues | public void setValues(QName qname)(Code) | | Sets the values of the qualified name.
|
setValues | public void setValues(int prefix, int localpart, int rawname)(Code) | | Sets the values of the qualified name.
|
setValues | public void setValues(int prefix, int localpart, int rawname, int uri)(Code) | | Sets the values of the qualified name.
|
toString | public String toString()(Code) | | Returns a string representation of this object.
|
|
|