org.apache.ws.jaxme.xs.xml

Class XsNamespaceList.Other

public static class XsNamespaceList.Other extends XsNamespaceList

A namespace list matching "##other" with the given target namespace pTargetNamespace.

Constructor Summary
protected Other(XsAnyURI pTargetNamespace)
Method Summary
booleanequals(Object pOther)

Returns, whether this is an instance of Other with the same target namespace.

XsAnyURI[]getUris()
inthashCode()

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

booleanisAny()
booleanisOther()
StringtoString()

Constructor Detail

Other

protected Other(XsAnyURI pTargetNamespace)

Method Detail

equals

public boolean equals(Object pOther)

Returns, whether this is an instance of Other with the same target namespace.

getUris

public XsAnyURI[] getUris()

Returns: An array with a single element (the target namespace or "")

hashCode

public int hashCode()

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

isAny

public boolean isAny()

Returns: false

isOther

public boolean isOther()

Returns: true

toString

public String toString()

Returns: The string "##other".