org.apache.ws.jaxme.xs.xml

Class XsNamespaceList.Other

Enclosing Class:
XsNamespaceList

public static class XsNamespaceList.Other
extends XsNamespaceList

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

Other(XsAnyURI pTargetNamespace)

Method Summary

boolean
equals(Object pOther)
Returns, whether this is an instance of XsNamespaceList.Other with the same target namespace.
XsAnyURI[]
getUris()
int
hashCode()
Returns getUris()[0].hashCode().
boolean
isAny()
boolean
isOther()
String
toString()

Methods inherited from class org.apache.ws.jaxme.xs.xml.XsNamespaceList

getUris, isAny, isOther, valueOf

Constructor Details

Other

protected Other(XsAnyURI pTargetNamespace)

Method Details

equals

public boolean equals(Object pOther)

getUris

public XsAnyURI[] getUris()
Overrides:
getUris in interface XsNamespaceList
Returns:
An array with a single element (the target namespace or "")

hashCode

public int hashCode()
Returns getUris()[0].hashCode().

isAny

public boolean isAny()
Overrides:
isAny in interface XsNamespaceList
Returns:
false

isOther

public boolean isOther()
Overrides:
isOther in interface XsNamespaceList
Returns:
true

toString

public String toString()
Returns:
The string "##other".