|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.jaxme.xs.xml.XsDerivationSet
Implementation of xs:derivationset
.
Follows this specification:
<xs:simpleType name="derivationSet"> <xs:annotation> <xs:documentation> A utility type, not for public use </xs:documentation> <xs:documentation> #all or (possibly empty) subset of {extension, restriction} </xs:documentation> </xs:annotation> <xs:union> <xs:simpleType> <xs:restriction base="xs:token"> <xs:enumeration value="#all"/> </xs:restriction> </xs:simpleType> <xs:simpleType> <xs:list itemType="xs:reducedDerivationControl"/> </xs:simpleType> </xs:union> </xs:simpleType>
Constructor Summary | |
XsDerivationSet(java.lang.String pValue)
Creates a new DerivationSet with the given value. |
Method Summary | |
boolean |
equals(java.lang.Object o)
|
int |
hashCode()
|
boolean |
isExtensionAllowed()
Returns whether extension is allowed. |
boolean |
isRestrictionAllowed()
Returns whether restriction is allowed. |
void |
setExtensionAllowed(boolean pExtensionAllowed)
Sets whether extension is allowed. |
void |
setRestrictionAllowed(boolean pRestrictionAllowed)
Sets whether restriction is allowed. |
java.lang.String |
toString()
|
static XsDerivationSet |
valueOf(java.lang.String pValue)
Returns a DerivationSet matching the given
value. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public XsDerivationSet(java.lang.String pValue)
Creates a new DerivationSet with the given value.
Method Detail |
public boolean isExtensionAllowed()
Returns whether extension is allowed.
public void setExtensionAllowed(boolean pExtensionAllowed)
Sets whether extension is allowed.
public boolean isRestrictionAllowed()
Returns whether restriction is allowed.
public void setRestrictionAllowed(boolean pRestrictionAllowed)
Sets whether restriction is allowed.
public static XsDerivationSet valueOf(java.lang.String pValue)
Returns a DerivationSet
matching the given
value.
public java.lang.String toString()
public boolean equals(java.lang.Object o)
public int hashCode()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |