Interface of
xs:simpleRestrictionModel
, following
this specification:
<xs:group name="simpleRestrictionModel">
<xs:sequence>
<xs:element name="simpleType" type="xs:localSimpleType" minOccurs="0"/>
<xs:group ref="xs:facets" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:group>
<xs:group name="facets">
<xs:annotation>
<xs:documentation>
We should use a substitution group for facets, but
that's ruled out because it would allow users to
add their own, which we're not ready for yet.
</xs:documentation>
</xs:annotation>
<xs:choice>
<xs:element ref="xs:minExclusive"/>
<xs:element ref="xs:minInclusive"/>
<xs:element ref="xs:maxExclusive"/>
<xs:element ref="xs:maxInclusive"/>
<xs:element ref="xs:totalDigits"/>
<xs:element ref="xs:fractionDigits"/>
<xs:element ref="xs:length"/>
<xs:element ref="xs:minLength"/>
<xs:element ref="xs:maxLength"/>
<xs:element ref="xs:enumeration"/>
<xs:element ref="xs:whiteSpace"/>
<xs:element ref="xs:pattern"/>
</xs:choice>
</xs:group>
createEnumeration
public XsEEnumeration createEnumeration()
throws SAXException
createFractionDigits
public XsEFractionDigits createFractionDigits()
throws SAXException
createLength
public XsELength createLength()
throws SAXException
createMaxExclusive
public XsEMaxExclusive createMaxExclusive()
throws SAXException
createMaxInclusive
public XsEMaxInclusive createMaxInclusive()
throws SAXException
createMaxLength
public XsEMaxLength createMaxLength()
throws SAXException
createMinExclusive
public XsEMinExclusive createMinExclusive()
throws SAXException
createMinInclusive
public XsEMinInclusive createMinInclusive()
throws SAXException
createMinLength
public XsEMinLength createMinLength()
throws SAXException
createPattern
public XsEPattern createPattern()
throws SAXException
createTotalDigits
public XsETotalDigits createTotalDigits()
throws SAXException
createWhiteSpace
public XsEWhiteSpace createWhiteSpace()
throws SAXException
getFacets
public XsTFacetBase[] getFacets()
Returns an array of all facets.
hasFacets
public boolean hasFacets()
Returns whether any facet has been defined.