|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.jaxme.xs.xml.XsNamespaceList
Implementation of the xs:namespaceList
type,
specified like this:
<xs:simpleType name="namespaceList"> <xs:annotation> <xs:documentation> A utility type, not for public use </xs:documentation> </xs:annotation> <xs:union> <xs:simpleType> <xs:restriction base="xs:token"> <xs:enumeration value="##any"/> <xs:enumeration value="##other"/> </xs:restriction> </xs:simpleType> <xs:simpleType> <xs:list> <xs:simpleType> <xs:union memberTypes="xs:anyURI"> <xs:simpleType> <xs:restriction base="xs:token"> <xs:enumeration value="##targetNamespace"/> <xs:enumeration value="##local"/> </xs:restriction> </xs:simpleType> </xs:union> </xs:simpleType> </xs:list> </xs:simpleType> </xs:union> </xs:simpleType>
Field Summary | |
static XsNamespaceList |
ANY
|
static XsNamespaceList |
OTHER
|
Method Summary | |
XsAnyURI[] |
getUris()
Returns the array of URI's specified in the namespace list. |
boolean |
isAny()
Returns whether the namespace list matches ##any .
|
boolean |
isLocalSet()
Returns whether the URI list did contain the value ##targetNamespace . |
boolean |
isOther()
Returns whether the namespace list matches ##other .
|
boolean |
isTargetNamespaceSet()
Returns whether the URI list did contain the value ##targetNamespace . |
static XsNamespaceList |
valueOf(java.lang.String pValue)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final XsNamespaceList ANY
public static final XsNamespaceList OTHER
Method Detail |
public static XsNamespaceList valueOf(java.lang.String pValue)
public boolean isAny()
Returns whether the namespace list matches ##any
.
This is the case if, and only if, isOther()
returns
false, and getUris()
returns null.
public boolean isOther()
Returns whether the namespace list matches ##other
.
This is the case if, and only if, isAny()
returns
false, and getUris()
returns null.
public XsAnyURI[] getUris()
Returns the array of URI's specified in the namespace list.
Returns non-null if, and only if, isAny()
and
isOther()
return false.
If this method returns non-null, you may also use the methods
isTargetNamespaceSet()
and isLocalSet()
.
public boolean isTargetNamespaceSet()
Returns whether the URI list did contain the value
##targetNamespace
.
public boolean isLocalSet()
Returns whether the URI list did contain the value
##targetNamespace
.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |