org.apache.ws.jaxme.xs.xml
Interface XsGSimpleRestrictionModel

All Known Subinterfaces:
XsERestriction, XsTComplexRestrictionType, XsTRestrictionType, XsTSimpleRestrictionType
All 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 Detail

createSimpleType

XsTLocalSimpleType createSimpleType()
                                    throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException

getSimpleType

XsTLocalSimpleType getSimpleType()

createMinExclusive

XsEMinExclusive createMinExclusive()
                                   throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException

getMinExclusive

XsEMinExclusive getMinExclusive()

createMinInclusive

XsEMinInclusive createMinInclusive()
                                   throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException

getMinInclusive

XsEMinInclusive getMinInclusive()

createMaxExclusive

XsEMaxExclusive createMaxExclusive()
                                   throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException

getMaxExclusive

XsEMaxExclusive getMaxExclusive()

createMaxInclusive

XsEMaxInclusive createMaxInclusive()
                                   throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException

getMaxInclusive

XsEMaxInclusive getMaxInclusive()

createTotalDigits

XsETotalDigits createTotalDigits()
                                 throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException

getTotalDigits

XsETotalDigits getTotalDigits()

createFractionDigits

XsEFractionDigits createFractionDigits()
                                       throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException

getFractionDigits

XsEFractionDigits getFractionDigits()

createLength

XsELength createLength()
                       throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException

getLength

XsELength getLength()

createMinLength

XsEMinLength createMinLength()
                             throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException

getMinLength

XsEMinLength getMinLength()

createMaxLength

XsEMaxLength createMaxLength()
                             throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException

getMaxLength

XsEMaxLength getMaxLength()

createWhiteSpace

XsEWhiteSpace createWhiteSpace()
                               throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException

getWhiteSpace

XsEWhiteSpace getWhiteSpace()

createPattern

XsEPattern createPattern()
                         throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException

getPatterns

XsEPattern[] getPatterns()

createEnumeration

XsEEnumeration createEnumeration()
                                 throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException

getEnumerations

XsEEnumeration[] getEnumerations()

hasFacets

boolean hasFacets()

Returns whether any facet has been defined.


getFacets

XsTFacetBase[] getFacets()

Returns an array of all facets.