public static class XsNamespaceList.Other extends XsNamespaceList
A namespace list matching "##other" with the given
target namespace pTargetNamespace
.
XsNamespaceList.Basic, XsNamespaceList.Other
ANY
Modifier | Constructor and Description |
---|---|
protected |
XsNamespaceList.Other(XsAnyURI pTargetNamespace) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object pOther)
Returns, whether this is an instance of
XsNamespaceList.Other with the same target namespace. |
XsAnyURI[] |
getUris()
Returns the array of URI's specified in the namespace list.
|
int |
hashCode()
Returns getUris()[0].hashCode().
|
boolean |
isAny()
Returns whether the namespace list matches
##any . |
boolean |
isOther()
Returns whether the namespace list matches
##other . |
java.lang.String |
toString() |
valueOf
protected XsNamespaceList.Other(XsAnyURI pTargetNamespace)
public boolean isAny()
XsNamespaceList
Returns whether the namespace list matches ##any
.
If this is the case, then XsNamespaceList.isOther()
returns false
and XsNamespaceList.getUris()
returns null.
isAny
in class XsNamespaceList
public boolean isOther()
XsNamespaceList
Returns whether the namespace list matches ##other
.
If the result is true, then XsNamespaceList.getUris()
may be used to
obtain an array with a single element, the target namespace.
isOther
in class XsNamespaceList
public XsAnyURI[] getUris()
XsNamespaceList
Returns the array of URI's specified in the namespace list.
If XsNamespaceList.isAny()
returns true, then the result is null.
If XsNamespaceList.isOther()
returns true, then the result is an
array with a single element: The target namespace or "" for
an absent namespace.
getUris
in class XsNamespaceList
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
Returns getUris()[0].hashCode().
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object pOther)
Returns, whether this is an instance of
XsNamespaceList.Other
with the same target namespace.
equals
in class java.lang.Object