org.apache.ws.jaxme.xs.xml
public class XsDerivationSet extends Object
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(String pValue) Creates a new DerivationSet with the given value. |
Method Summary | |
---|---|
boolean | equals(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. |
String | toString() |
static XsDerivationSet | valueOf(String pValue) Returns a |
Creates a new DerivationSet with the given value.
Returns whether extension is allowed.
Returns whether restriction is allowed.
Sets whether extension is allowed.
Sets whether restriction is allowed.
Returns a DerivationSet
matching the given
value.