org.apache.ws.jaxme.xs.xml

Class XsNamespaceList.Basic

Enclosing Class:
XsNamespaceList

public static class XsNamespaceList.Basic
extends XsNamespaceList

Default implementation of XsNamespaceList.

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

Basic(String pValue, XsAnyURI pTargetNamespace)

Method Summary

boolean
equals(Object pOther)
Implemented with Arrays.equals(Object[], Object[]) and the result of getUris().
XsAnyURI[]
getUris()
int
hashCode()
boolean
isAny()
boolean
isOther()
String
toString()

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

getUris, isAny, isOther, valueOf

Constructor Details

Basic

protected Basic(String pValue,
                XsAnyURI pTargetNamespace)

Method Details

equals

public boolean equals(Object pOther)

getUris

public XsAnyURI[] getUris()
Overrides:
getUris in interface XsNamespaceList
Returns:
An array with the URI's specified in the 'namespace' attribute.

hashCode

public int hashCode()

isAny

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

isOther

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

toString

public String toString()
Returns:
The unmodified value of the 'namespace' attribute.