public static class XsNamespaceList.Basic extends XsNamespaceList
XsNamespaceList.XsNamespaceList.Basic, XsNamespaceList.OtherANY| Modifier | Constructor and Description |
|---|---|
protected |
XsNamespaceList.Basic(java.lang.String pValue,
XsAnyURI pTargetNamespace) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object pOther)
Implemented with
Arrays.equals(Object[], Object[])
and the result of getUris(). |
XsAnyURI[] |
getUris()
Returns the array of URI's specified in the namespace list.
|
int |
hashCode() |
boolean |
isAny()
Returns whether the namespace list matches
##any. |
boolean |
isOther()
Returns whether the namespace list matches
##other. |
java.lang.String |
toString() |
valueOfprotected XsNamespaceList.Basic(java.lang.String pValue,
XsAnyURI pTargetNamespace)
public boolean isAny()
XsNamespaceListReturns whether the namespace list matches ##any.
If this is the case, then XsNamespaceList.isOther() returns false
and XsNamespaceList.getUris() returns null.
isAny in class XsNamespaceListpublic boolean isOther()
XsNamespaceListReturns 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 XsNamespaceListpublic XsAnyURI[] getUris()
XsNamespaceListReturns 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 XsNamespaceListpublic java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.ObjectArrays.equals(Object[], Object[]) on
the result of getUris().public boolean equals(java.lang.Object pOther)
Implemented with Arrays.equals(Object[], Object[])
and the result of getUris().
equals in class java.lang.Object