javax.xml.namespace.QName (qualified name),
but only contains information about local name optionally prefixed by
a prefix and colon, without namespace binding information.
| Modifier and Type | Field and Description |
|---|---|
| protected final String | |
| protected NsBinding | _namespaceBinding
Binding of this qualified/prefixed name. |
| protected final String | |
| protected final String |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public final boolean | |
| public final boolean | |
| public final int | |
| public static int | |
| public final QName | |
| public final QName | constructQName(NsBinding defaultNs)
Method called to construct a QName representation of elemented represented by this PName. |
| public abstract PName | |
| public final boolean | equals(Object
the reference object with which to compare. o)Overrides java. |
| public abstract int | |
| public abstract int | |
| public final String | |
| public final NsBinding | |
| public final String | |
| public final String | |
| public final String | |
| public abstract int | |
| public int | |
| public boolean | |
| public boolean | |
| public final boolean | Returns: True if the name as described either has no prefix (either belongs to the default ns [elems], or to 'no namespace' [attrs]), or has a prefix that is bound currently. False if name has a prefix that is unbound.
|
| public final boolean | |
| public abstract int | |
| public final String | |
| public final boolean | |
| public final int |
| _localName | back to summary |
|---|---|
| protected final String _localName | |
| _namespaceBinding | back to summary |
|---|---|
| protected NsBinding _namespaceBinding Binding of this qualified/prefixed name. Null if there is no prefix; in which case name is either bound to the default namespace (when element name), or no namespace (when other name, like attribute) | |
| _prefix | back to summary |
|---|---|
| protected final String _prefix | |
| _prefixedName | back to summary |
|---|---|
| protected final String _prefixedName | |
| PName | back to summary |
|---|---|
| protected PName(String pname, String prefix, String ln) | |
| boundEquals | back to summary |
|---|---|
| public final boolean boundEquals(PName other) Method that compares two bound PNames for semantic equality. This means that the local name, as well as bound URI are compared. | |
| boundEquals | back to summary |
|---|---|
| public final boolean boundEquals(String nsUri, String ln) | |
| boundHashCode | back to summary |
|---|---|
| public final int boundHashCode() | |
| boundHashCode | back to summary |
|---|---|
| public static int boundHashCode(String nsURI, String localName) | |
| constructQName | back to summary |
|---|---|
| public final QName constructQName() | |
| constructQName | back to summary |
|---|---|
| public final QName constructQName(NsBinding defaultNs) Method called to construct a QName representation of elemented represented by this PName. Because of namespace defaulting, current default namespace binding also needs to be passed (since only explicit ones get bound to PName instances). | |
| createBoundName | back to summary |
|---|---|
| public abstract PName createBoundName(NsBinding nsb) | |
| equals | back to summary |
|---|---|
| public final boolean equals(Object o) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| getFirstQuad | back to summary |
|---|---|
| public abstract int getFirstQuad() | |
| getLastQuad | back to summary |
|---|---|
| public abstract int getLastQuad() | |
| getLocalName | back to summary |
|---|---|
| public final String getLocalName() | |
| getNsBinding | back to summary |
|---|---|
| public final NsBinding getNsBinding() | |
| getNsUri | back to summary |
|---|---|
| public final String getNsUri() | |
| getPrefix | back to summary |
|---|---|
public final String getPrefix()
| |
| getPrefixedName | back to summary |
|---|---|
| public final String getPrefixedName() | |
| getQuad | back to summary |
|---|---|
| public abstract int getQuad(int index) | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for the object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| hasPrefix | back to summary |
|---|---|
| public boolean hasPrefix() | |
| hasPrefixedName | back to summary |
|---|---|
| public boolean hasPrefixedName(String n) | |
| isBound | back to summary |
|---|---|
public final boolean isBound()
| |
| needsBinding | back to summary |
|---|---|
public final boolean needsBinding()
| |
| sizeInQuads | back to summary |
|---|---|
| public abstract int sizeInQuads() | |
| toString | back to summary |
|---|---|
| public final String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| unboundEquals | back to summary |
|---|---|
| public final boolean unboundEquals(PName other) | |
| unboundHashCode | back to summary |
|---|---|
| public final int unboundHashCode() | |