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

Class XsTRestrictionTypeImpl

Implemented Interfaces:
XsGAttrDecls, XsGSimpleRestrictionModel, XsGTypeDefParticle, XsObject, XsTAnnotated, XsTOpenAttrs, XsTRestrictionType
Known Direct Subclasses:
XsTComplexRestrictionTypeImpl, XsTSimpleRestrictionTypeImpl

public class XsTRestrictionTypeImpl
extends XsTAnnotatedImpl
implements XsTRestrictionType

Implementation of xs:restrictionType, as specified by the following:
  <xs:complexType name="restrictionType">
    <xs:complexContent>
      <xs:extension base="xs:annotated">
        <xs:sequence>
          <xs:choice>
            <xs:group ref="xs:typeDefParticle" minOccurs="0"/>
            <xs:group ref="xs:simpleRestrictionModel" minOccurs="0"/>
          </xs:choice>
          <xs:group ref="xs:attrDecls"/>
        </xs:sequence>
        <xs:attribute name="base" type="xs:QName" use="required"/>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
 
Author:
Jochen Wiedmann

Constructor Summary

XsTRestrictionTypeImpl(XsObject pParent)

Method Summary

XsTAll
createAll()
XsTWildcard
createAnyAttribute()
XsTAttribute
createAttribute()
XsTAttributeGroupRef
createAttributeGroup()
XsEChoice
createChoice()
XsEEnumeration
createEnumeration()
XsEFractionDigits
createFractionDigits()
XsTGroupRef
createGroup()
XsELength
createLength()
XsEMaxExclusive
createMaxExclusive()
XsEMaxInclusive
createMaxInclusive()
XsEMaxLength
createMaxLength()
XsEMinExclusive
createMinExclusive()
XsEMinInclusive
createMinInclusive()
XsEMinLength
createMinLength()
XsEPattern
createPattern()
XsESequence
createSequence()
XsTLocalSimpleType
createSimpleType()
XsETotalDigits
createTotalDigits()
XsEWhiteSpace
createWhiteSpace()
Object[]
getAllAttributes()
XsTWildcard
getAnyAttribute()
XsTAttributeGroupRef[]
getAttributeGroups()
XsTAttribute[]
getAttributes()
XsQName
getBase()
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()
XsTTypeDefParticle
getTypeDefParticle()
XsEWhiteSpace
getWhiteSpace()
boolean
hasFacets()
Returns whether any facet has been defined.
void
setBase(String pBase)
void
setBase(XsQName pBase)
void
validate()
Validates the internal state of the type, attribute, element, or whatever object.

Methods inherited from class org.apache.ws.jaxme.xs.xml.impl.XsTAnnotatedImpl

createAnnotation, getAnnotation, getId, setId

Methods inherited from class org.apache.ws.jaxme.xs.xml.impl.XsTOpenAttrsImpl

getOpenAttributes, setAttribute

Methods inherited from class org.apache.ws.jaxme.xs.xml.impl.XsObjectImpl

asXsQName, asXsQName, getContext, getLocator, getNamespaceSupport, getObjectFactory, getParentObject, getXsESchema, isTopLevelObject, isValidated, validate

Constructor Details

XsTRestrictionTypeImpl

protected XsTRestrictionTypeImpl(XsObject pParent)

Method Details

createAll

public XsTAll createAll()
Specified by:
createAll in interface XsGTypeDefParticle

createAnyAttribute

public XsTWildcard createAnyAttribute()
Specified by:
createAnyAttribute in interface XsGAttrDecls

createAttribute

public XsTAttribute createAttribute()
Specified by:
createAttribute in interface XsGAttrDecls

createAttributeGroup

public XsTAttributeGroupRef createAttributeGroup()
Specified by:
createAttributeGroup in interface XsGAttrDecls

createChoice

public XsEChoice createChoice()
Specified by:
createChoice in interface XsGTypeDefParticle

createEnumeration

public XsEEnumeration createEnumeration()
            throws SAXException
Specified by:
createEnumeration in interface XsGSimpleRestrictionModel

createFractionDigits

public XsEFractionDigits createFractionDigits()
            throws SAXException
Specified by:
createFractionDigits in interface XsGSimpleRestrictionModel

createGroup

public XsTGroupRef createGroup()
Specified by:
createGroup in interface XsGTypeDefParticle

createLength

public XsELength createLength()
            throws SAXException
Specified by:
createLength in interface XsGSimpleRestrictionModel

createMaxExclusive

public XsEMaxExclusive createMaxExclusive()
            throws SAXException
Specified by:
createMaxExclusive in interface XsGSimpleRestrictionModel

createMaxInclusive

public XsEMaxInclusive createMaxInclusive()
            throws SAXException
Specified by:
createMaxInclusive in interface XsGSimpleRestrictionModel

createMaxLength

public XsEMaxLength createMaxLength()
            throws SAXException
Specified by:
createMaxLength in interface XsGSimpleRestrictionModel

createMinExclusive

public XsEMinExclusive createMinExclusive()
            throws SAXException
Specified by:
createMinExclusive in interface XsGSimpleRestrictionModel

createMinInclusive

public XsEMinInclusive createMinInclusive()
            throws SAXException
Specified by:
createMinInclusive in interface XsGSimpleRestrictionModel

createMinLength

public XsEMinLength createMinLength()
            throws SAXException
Specified by:
createMinLength in interface XsGSimpleRestrictionModel

createPattern

public XsEPattern createPattern()
            throws SAXException
Specified by:
createPattern in interface XsGSimpleRestrictionModel

createSequence

public XsESequence createSequence()
Specified by:
createSequence in interface XsGTypeDefParticle

createSimpleType

public XsTLocalSimpleType createSimpleType()
            throws SAXException
Specified by:
createSimpleType in interface XsGSimpleRestrictionModel

createTotalDigits

public XsETotalDigits createTotalDigits()
            throws SAXException
Specified by:
createTotalDigits in interface XsGSimpleRestrictionModel

createWhiteSpace

public XsEWhiteSpace createWhiteSpace()
            throws SAXException
Specified by:
createWhiteSpace in interface XsGSimpleRestrictionModel

getAllAttributes

public Object[] getAllAttributes()
Specified by:
getAllAttributes in interface XsGAttrDecls

getAnyAttribute

public XsTWildcard getAnyAttribute()
Specified by:
getAnyAttribute in interface XsGAttrDecls

getAttributeGroups

public XsTAttributeGroupRef[] getAttributeGroups()
Specified by:
getAttributeGroups in interface XsGAttrDecls

getAttributes

public XsTAttribute[] getAttributes()
Specified by:
getAttributes in interface XsGAttrDecls

getBase

public XsQName getBase()
Specified by:
getBase in interface XsTRestrictionType

getEnumerations

public XsEEnumeration[] getEnumerations()
Specified by:
getEnumerations in interface XsGSimpleRestrictionModel

getFacets

public XsTFacetBase[] getFacets()
Returns an array of all facets.
Specified by:
getFacets in interface XsGSimpleRestrictionModel

getFractionDigits

public XsEFractionDigits getFractionDigits()
Specified by:
getFractionDigits in interface XsGSimpleRestrictionModel

getLength

public XsELength getLength()
Specified by:
getLength in interface XsGSimpleRestrictionModel

getMaxExclusive

public XsEMaxExclusive getMaxExclusive()
Specified by:
getMaxExclusive in interface XsGSimpleRestrictionModel

getMaxInclusive

public XsEMaxInclusive getMaxInclusive()
Specified by:
getMaxInclusive in interface XsGSimpleRestrictionModel

getMaxLength

public XsEMaxLength getMaxLength()
Specified by:
getMaxLength in interface XsGSimpleRestrictionModel

getMinExclusive

public XsEMinExclusive getMinExclusive()
Specified by:
getMinExclusive in interface XsGSimpleRestrictionModel

getMinInclusive

public XsEMinInclusive getMinInclusive()
Specified by:
getMinInclusive in interface XsGSimpleRestrictionModel

getMinLength

public XsEMinLength getMinLength()
Specified by:
getMinLength in interface XsGSimpleRestrictionModel

getPatterns

public XsEPattern[] getPatterns()
Specified by:
getPatterns in interface XsGSimpleRestrictionModel

getSimpleType

public XsTLocalSimpleType getSimpleType()
Specified by:
getSimpleType in interface XsGSimpleRestrictionModel

getTotalDigits

public XsETotalDigits getTotalDigits()
Specified by:
getTotalDigits in interface XsGSimpleRestrictionModel

getTypeDefParticle

public XsTTypeDefParticle getTypeDefParticle()
Specified by:
getTypeDefParticle in interface XsGTypeDefParticle

getWhiteSpace

public XsEWhiteSpace getWhiteSpace()
Specified by:
getWhiteSpace in interface XsGSimpleRestrictionModel

hasFacets

public boolean hasFacets()
Returns whether any facet has been defined.
Specified by:
hasFacets in interface XsGSimpleRestrictionModel

setBase

public void setBase(String pBase)
            throws SAXException

setBase

public void setBase(XsQName pBase)
Specified by:
setBase in interface XsTRestrictionType

validate

public void validate()
            throws SAXException
Validates the internal state of the type, attribute, element, or whatever object.
Specified by:
validate in interface XsObject
Overrides:
validate in interface XsObjectImpl