org.apache.ws.jaxme.xs.xml.impl

Class XsGSimpleRestrictionModelImpl

public class XsGSimpleRestrictionModelImpl extends Object implements 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

Constructor Summary
protected XsGSimpleRestrictionModelImpl(XsObject pOwner)
Method Summary
protected voidaddFacet(XsTFacetBase pFacet)
protected voidaddUniqueFacet(XsTFacetBase pFacet)
XsEEnumerationcreateEnumeration()
XsEFractionDigitscreateFractionDigits()
XsELengthcreateLength()
XsEMaxExclusivecreateMaxExclusive()
XsEMaxInclusivecreateMaxInclusive()
XsEMaxLengthcreateMaxLength()
XsEMinExclusivecreateMinExclusive()
XsEMinInclusivecreateMinInclusive()
XsEMinLengthcreateMinLength()
XsEPatterncreatePattern()
XsTLocalSimpleTypecreateSimpleType()
XsETotalDigitscreateTotalDigits()
XsEWhiteSpacecreateWhiteSpace()
XsEEnumeration[]getEnumerations()
protected XsTFacetBasegetFacetByName(String pName)
XsTFacetBase[]getFacets()
XsEFractionDigitsgetFractionDigits()
XsELengthgetLength()
XsEMaxExclusivegetMaxExclusive()
XsEMaxInclusivegetMaxInclusive()
XsEMaxLengthgetMaxLength()
XsEMinExclusivegetMinExclusive()
XsEMinInclusivegetMinInclusive()
XsEMinLengthgetMinLength()
XsEPattern[]getPatterns()
XsTLocalSimpleTypegetSimpleType()
XsETotalDigitsgetTotalDigits()
XsEWhiteSpacegetWhiteSpace()
booleanhasFacets()

Constructor Detail

XsGSimpleRestrictionModelImpl

protected XsGSimpleRestrictionModelImpl(XsObject pOwner)

Method Detail

addFacet

protected void addFacet(XsTFacetBase pFacet)

addUniqueFacet

protected void addUniqueFacet(XsTFacetBase pFacet)

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()

getFacetByName

protected XsTFacetBase getFacetByName(String pName)

getFacets

public XsTFacetBase[] getFacets()

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()