|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.ws.jaxme.xs.xml.XsNamespaceList
org.apache.ws.jaxme.xs.xml.XsNamespaceList.Other
public static class XsNamespaceList.Other
A namespace list matching "##other" with the given
target namespace pTargetNamespace.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.apache.ws.jaxme.xs.xml.XsNamespaceList |
|---|
XsNamespaceList.Basic, XsNamespaceList.Other |
| Field Summary |
|---|
| Fields inherited from class org.apache.ws.jaxme.xs.xml.XsNamespaceList |
|---|
ANY |
| Constructor Summary | |
|---|---|
protected |
XsNamespaceList.Other(XsAnyURI pTargetNamespace)
|
| Method Summary | |
|---|---|
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()
|
| Methods inherited from class org.apache.ws.jaxme.xs.xml.XsNamespaceList |
|---|
valueOf |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected XsNamespaceList.Other(XsAnyURI pTargetNamespace)
| Method Detail |
|---|
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()
Returns getUris()[0].hashCode().
hashCode in class java.lang.Objectpublic 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
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||