org.apache.ws.jaxme.xs.xml

Interface XsGSimpleRestrictionModel

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
XsEEnumerationcreateEnumeration()
XsEFractionDigitscreateFractionDigits()
XsELengthcreateLength()
XsEMaxExclusivecreateMaxExclusive()
XsEMaxInclusivecreateMaxInclusive()
XsEMaxLengthcreateMaxLength()
XsEMinExclusivecreateMinExclusive()
XsEMinInclusivecreateMinInclusive()
XsEMinLengthcreateMinLength()
XsEPatterncreatePattern()
XsTLocalSimpleTypecreateSimpleType()
XsETotalDigitscreateTotalDigits()
XsEWhiteSpacecreateWhiteSpace()
XsEEnumeration[]getEnumerations()
XsTFacetBase[]getFacets()

Returns an array of all facets.

XsEFractionDigitsgetFractionDigits()
XsELengthgetLength()
XsEMaxExclusivegetMaxExclusive()
XsEMaxInclusivegetMaxInclusive()
XsEMaxLengthgetMaxLength()
XsEMinExclusivegetMinExclusive()
XsEMinInclusivegetMinInclusive()
XsEMinLengthgetMinLength()
XsEPattern[]getPatterns()
XsTLocalSimpleTypegetSimpleType()
XsETotalDigitsgetTotalDigits()
XsEWhiteSpacegetWhiteSpace()
booleanhasFacets()

Returns whether any facet has been defined.

Method Detail

createEnumeration

public XsEEnumeration createEnumeration()

createFractionDigits

public XsEFractionDigits createFractionDigits()

createLength

public XsELength createLength()

createMaxExclusive

public XsEMaxExclusive createMaxExclusive()

createMaxInclusive

public XsEMaxInclusive createMaxInclusive()

createMaxLength

public XsEMaxLength createMaxLength()

createMinExclusive

public XsEMinExclusive createMinExclusive()

createMinInclusive

public XsEMinInclusive createMinInclusive()

createMinLength

public XsEMinLength createMinLength()

createPattern

public XsEPattern createPattern()

createSimpleType

public XsTLocalSimpleType createSimpleType()

createTotalDigits

public XsETotalDigits createTotalDigits()

createWhiteSpace

public XsEWhiteSpace createWhiteSpace()

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.