org.apache.ws.jaxme.xs.xml

Interface XsGSimpleRestrictionModel

Known Subinterfaces:
XsERestriction, XsTComplexRestrictionType, XsTRestrictionType, XsTSimpleRestrictionType
Known Implementing Classes:
XsERestrictionImpl, XsGSimpleRestrictionModelImpl, XsTComplexRestrictionTypeImpl, XsTRestrictionTypeImpl, XsTSimpleRestrictionTypeImpl

public interface XsGSimpleRestrictionModel

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>
 
Author:
Jochen Wiedmann

Method Summary

XsEEnumeration
createEnumeration()
XsEFractionDigits
createFractionDigits()
XsELength
createLength()
XsEMaxExclusive
createMaxExclusive()
XsEMaxInclusive
createMaxInclusive()
XsEMaxLength
createMaxLength()
XsEMinExclusive
createMinExclusive()
XsEMinInclusive
createMinInclusive()
XsEMinLength
createMinLength()
XsEPattern
createPattern()
XsTLocalSimpleType
createSimpleType()
XsETotalDigits
createTotalDigits()
XsEWhiteSpace
createWhiteSpace()
XsEEnumeration[]
getEnumerations()
XsTFacetBase[]
getFacets()
Returns an array of all facets.
XsEFractionDigits
getFractionDigits()
XsELength
getLength()
XsEMaxExclusive
getMaxExclusive()
XsEMaxInclusive
getMaxInclusive()
XsEMaxLength
getMaxLength()
XsEMinExclusive
getMinExclusive()
XsEMinInclusive
getMinInclusive()
XsEMinLength
getMinLength()
XsEPattern[]
getPatterns()
XsTLocalSimpleType
getSimpleType()
XsETotalDigits
getTotalDigits()
XsEWhiteSpace
getWhiteSpace()
boolean
hasFacets()
Returns whether any facet has been defined.

Method Details

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

createSimpleType

public XsTLocalSimpleType createSimpleType()
            throws SAXException

createTotalDigits

public XsETotalDigits createTotalDigits()
            throws SAXException

createWhiteSpace

public XsEWhiteSpace createWhiteSpace()
            throws SAXException

getEnumerations

public XsEEnumeration[] getEnumerations()

getFacets

public XsTFacetBase[] getFacets()
Returns an array of all facets.

getFractionDigits

public XsEFractionDigits getFractionDigits()

getLength

public XsELength getLength()

getMaxExclusive

public XsEMaxExclusive getMaxExclusive()

getMaxInclusive

public XsEMaxInclusive getMaxInclusive()

getMaxLength

public XsEMaxLength getMaxLength()

getMinExclusive

public XsEMinExclusive getMinExclusive()

getMinInclusive

public XsEMinInclusive getMinInclusive()

getMinLength

public XsEMinLength getMinLength()

getPatterns

public XsEPattern[] getPatterns()

getSimpleType

public XsTLocalSimpleType getSimpleType()

getTotalDigits

public XsETotalDigits getTotalDigits()

getWhiteSpace

public XsEWhiteSpace getWhiteSpace()

hasFacets

public boolean hasFacets()
Returns whether any facet has been defined.