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

java.lang.Object
  extended by org.apache.ws.jaxme.xs.xml.impl.XsObjectImpl
      extended by org.apache.ws.jaxme.xs.xml.impl.XsTOpenAttrsImpl
          extended by org.apache.ws.jaxme.xs.xml.impl.XsTAnnotatedImpl
              extended by org.apache.ws.jaxme.xs.xml.impl.XsTRestrictionTypeImpl
                  extended by org.apache.ws.jaxme.xs.xml.impl.XsTSimpleRestrictionTypeImpl
All Implemented Interfaces:
XsGAttrDecls, XsGSimpleRestrictionModel, XsGTypeDefParticle, XsObject, XsTAnnotated, XsTOpenAttrs, XsTRestrictionType, XsTSimpleRestrictionType

public class XsTSimpleRestrictionTypeImpl
extends XsTRestrictionTypeImpl
implements XsTSimpleRestrictionType

Implementation of xs:simpleRestrictionType, as specified by the following:

  <xs:complexType name="simpleRestrictionType">
    <xs:complexContent>
      <xs:restriction base="xs:restrictionType">
        <xs:sequence>
          <xs:element ref="xs:annotation" minOccurs="0"/>
          <xs:group ref="xs:simpleRestrictionModel" minOccurs="0"/>
          <xs:group ref="xs:attrDecls"/>
        </xs:sequence>
      </xs:restriction>
    </xs:complexContent>
  </xs:complexType>
 

Author:
Jochen Wiedmann

Constructor Summary
protected XsTSimpleRestrictionTypeImpl(XsObject pParent)
           
 
Method Summary
 XsTWildcard createAnyAttribute()
          Creates a new instance of XsTWildcard.
 XsTAttribute createAttribute()
          Creates a new instance of XsTAttribute.
 XsTAttributeGroupRef createAttributeGroup()
          Creates a new instance of XsTAttributeGroup.
 XsEEnumeration createEnumeration()
           
 XsEFractionDigits createFractionDigits()
           
 XsELength createLength()
           
 XsEMaxInclusive createMaxInclusive()
           
 XsEMaxLength createMaxLength()
           
 XsEMinExclusive createMinExclusive()
           
 XsEMinInclusive createMinInclusive()
           
 XsEMinLength createMinLength()
           
 XsEPattern createPattern()
           
 XsTLocalSimpleType createSimpleType()
           
 XsETotalDigits createTotalDigits()
           
 XsEWhiteSpace createWhiteSpace()
           
 java.lang.Object[] getAllAttributes()
          Returns all objects created by XsGAttrDecls.createAttribute(), XsGAttrDecls.createAttributeGroup(), or XsGAttrDecls.createAnyAttribute(), in the order of the corresponding method calls.
 XsTWildcard getAnyAttribute()
          Returns the instance created by XsGAttrDecls.createAnyAttribute(), or null, if the method wasn't called.
 XsTAttributeGroupRef[] getAttributeGroups()
          Returns an array of all attribute groups created by XsGAttrDecls.createAttributeGroup();
 XsTAttribute[] getAttributes()
          Returns an array of all attributes created by XsGAttrDecls.createAttribute().
 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.
 
Methods inherited from class org.apache.ws.jaxme.xs.xml.impl.XsTRestrictionTypeImpl
createAll, createChoice, createGroup, createMaxExclusive, createSequence, getBase, getTypeDefParticle, setBase, setBase, validate
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.ws.jaxme.xs.xml.XsTRestrictionType
getBase, setBase
 
Methods inherited from interface org.apache.ws.jaxme.xs.xml.XsTAnnotated
createAnnotation, getAnnotation, getId, setId
 
Methods inherited from interface org.apache.ws.jaxme.xs.xml.XsTOpenAttrs
getOpenAttributes
 
Methods inherited from interface org.apache.ws.jaxme.xs.xml.XsObject
getLocator, getObjectFactory, getParentObject, getXsESchema, isTopLevelObject, validate
 
Methods inherited from interface org.apache.ws.jaxme.xs.xml.XsGTypeDefParticle
createAll, createChoice, createGroup, createSequence, getTypeDefParticle
 
Methods inherited from interface org.apache.ws.jaxme.xs.xml.XsGSimpleRestrictionModel
createMaxExclusive
 

Constructor Detail

XsTSimpleRestrictionTypeImpl

protected XsTSimpleRestrictionTypeImpl(XsObject pParent)
Method Detail

createSimpleType

public XsTLocalSimpleType createSimpleType()
                                    throws org.xml.sax.SAXException
Specified by:
createSimpleType in interface XsGSimpleRestrictionModel
Overrides:
createSimpleType in class XsTRestrictionTypeImpl
Throws:
org.xml.sax.SAXException

getSimpleType

public XsTLocalSimpleType getSimpleType()
Specified by:
getSimpleType in interface XsGSimpleRestrictionModel
Overrides:
getSimpleType in class XsTRestrictionTypeImpl

getMaxExclusive

public XsEMaxExclusive getMaxExclusive()
Specified by:
getMaxExclusive in interface XsGSimpleRestrictionModel
Overrides:
getMaxExclusive in class XsTRestrictionTypeImpl

createMinExclusive

public XsEMinExclusive createMinExclusive()
                                   throws org.xml.sax.SAXException
Specified by:
createMinExclusive in interface XsGSimpleRestrictionModel
Overrides:
createMinExclusive in class XsTRestrictionTypeImpl
Throws:
org.xml.sax.SAXException

getMinExclusive

public XsEMinExclusive getMinExclusive()
Specified by:
getMinExclusive in interface XsGSimpleRestrictionModel
Overrides:
getMinExclusive in class XsTRestrictionTypeImpl

createMaxInclusive

public XsEMaxInclusive createMaxInclusive()
                                   throws org.xml.sax.SAXException
Specified by:
createMaxInclusive in interface XsGSimpleRestrictionModel
Overrides:
createMaxInclusive in class XsTRestrictionTypeImpl
Throws:
org.xml.sax.SAXException

getMaxInclusive

public XsEMaxInclusive getMaxInclusive()
Specified by:
getMaxInclusive in interface XsGSimpleRestrictionModel
Overrides:
getMaxInclusive in class XsTRestrictionTypeImpl

createMinInclusive

public XsEMinInclusive createMinInclusive()
                                   throws org.xml.sax.SAXException
Specified by:
createMinInclusive in interface XsGSimpleRestrictionModel
Overrides:
createMinInclusive in class XsTRestrictionTypeImpl
Throws:
org.xml.sax.SAXException

getMinInclusive

public XsEMinInclusive getMinInclusive()
Specified by:
getMinInclusive in interface XsGSimpleRestrictionModel
Overrides:
getMinInclusive in class XsTRestrictionTypeImpl

createTotalDigits

public XsETotalDigits createTotalDigits()
                                 throws org.xml.sax.SAXException
Specified by:
createTotalDigits in interface XsGSimpleRestrictionModel
Overrides:
createTotalDigits in class XsTRestrictionTypeImpl
Throws:
org.xml.sax.SAXException

getTotalDigits

public XsETotalDigits getTotalDigits()
Specified by:
getTotalDigits in interface XsGSimpleRestrictionModel
Overrides:
getTotalDigits in class XsTRestrictionTypeImpl

createFractionDigits

public XsEFractionDigits createFractionDigits()
                                       throws org.xml.sax.SAXException
Specified by:
createFractionDigits in interface XsGSimpleRestrictionModel
Overrides:
createFractionDigits in class XsTRestrictionTypeImpl
Throws:
org.xml.sax.SAXException

getFractionDigits

public XsEFractionDigits getFractionDigits()
Specified by:
getFractionDigits in interface XsGSimpleRestrictionModel
Overrides:
getFractionDigits in class XsTRestrictionTypeImpl

createLength

public XsELength createLength()
                       throws org.xml.sax.SAXException
Specified by:
createLength in interface XsGSimpleRestrictionModel
Overrides:
createLength in class XsTRestrictionTypeImpl
Throws:
org.xml.sax.SAXException

getLength

public XsELength getLength()
Specified by:
getLength in interface XsGSimpleRestrictionModel
Overrides:
getLength in class XsTRestrictionTypeImpl

createMinLength

public XsEMinLength createMinLength()
                             throws org.xml.sax.SAXException
Specified by:
createMinLength in interface XsGSimpleRestrictionModel
Overrides:
createMinLength in class XsTRestrictionTypeImpl
Throws:
org.xml.sax.SAXException

getMinLength

public XsEMinLength getMinLength()
Specified by:
getMinLength in interface XsGSimpleRestrictionModel
Overrides:
getMinLength in class XsTRestrictionTypeImpl

createMaxLength

public XsEMaxLength createMaxLength()
                             throws org.xml.sax.SAXException
Specified by:
createMaxLength in interface XsGSimpleRestrictionModel
Overrides:
createMaxLength in class XsTRestrictionTypeImpl
Throws:
org.xml.sax.SAXException

getMaxLength

public XsEMaxLength getMaxLength()
Specified by:
getMaxLength in interface XsGSimpleRestrictionModel
Overrides:
getMaxLength in class XsTRestrictionTypeImpl

createWhiteSpace

public XsEWhiteSpace createWhiteSpace()
                               throws org.xml.sax.SAXException
Specified by:
createWhiteSpace in interface XsGSimpleRestrictionModel
Overrides:
createWhiteSpace in class XsTRestrictionTypeImpl
Throws:
org.xml.sax.SAXException

getWhiteSpace

public XsEWhiteSpace getWhiteSpace()
Specified by:
getWhiteSpace in interface XsGSimpleRestrictionModel
Overrides:
getWhiteSpace in class XsTRestrictionTypeImpl

createPattern

public XsEPattern createPattern()
                         throws org.xml.sax.SAXException
Specified by:
createPattern in interface XsGSimpleRestrictionModel
Overrides:
createPattern in class XsTRestrictionTypeImpl
Throws:
org.xml.sax.SAXException

getPatterns

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

createEnumeration

public XsEEnumeration createEnumeration()
                                 throws org.xml.sax.SAXException
Specified by:
createEnumeration in interface XsGSimpleRestrictionModel
Overrides:
createEnumeration in class XsTRestrictionTypeImpl
Throws:
org.xml.sax.SAXException

getEnumerations

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

hasFacets

public boolean hasFacets()
Description copied from interface: XsGSimpleRestrictionModel

Returns whether any facet has been defined.

Specified by:
hasFacets in interface XsGSimpleRestrictionModel
Overrides:
hasFacets in class XsTRestrictionTypeImpl

getFacets

public XsTFacetBase[] getFacets()
Description copied from interface: XsGSimpleRestrictionModel

Returns an array of all facets.

Specified by:
getFacets in interface XsGSimpleRestrictionModel
Overrides:
getFacets in class XsTRestrictionTypeImpl

createAttribute

public XsTAttribute createAttribute()
Description copied from interface: XsGAttrDecls

Creates a new instance of XsTAttribute.

Specified by:
createAttribute in interface XsGAttrDecls
Overrides:
createAttribute in class XsTRestrictionTypeImpl

getAttributes

public XsTAttribute[] getAttributes()
Description copied from interface: XsGAttrDecls

Returns an array of all attributes created by XsGAttrDecls.createAttribute().

Specified by:
getAttributes in interface XsGAttrDecls
Overrides:
getAttributes in class XsTRestrictionTypeImpl

createAttributeGroup

public XsTAttributeGroupRef createAttributeGroup()
Description copied from interface: XsGAttrDecls

Creates a new instance of XsTAttributeGroup.

Specified by:
createAttributeGroup in interface XsGAttrDecls
Overrides:
createAttributeGroup in class XsTRestrictionTypeImpl

getAttributeGroups

public XsTAttributeGroupRef[] getAttributeGroups()
Description copied from interface: XsGAttrDecls

Returns an array of all attribute groups created by XsGAttrDecls.createAttributeGroup();

Specified by:
getAttributeGroups in interface XsGAttrDecls
Overrides:
getAttributeGroups in class XsTRestrictionTypeImpl

createAnyAttribute

public XsTWildcard createAnyAttribute()
Description copied from interface: XsGAttrDecls

Creates a new instance of XsTWildcard.

Specified by:
createAnyAttribute in interface XsGAttrDecls
Overrides:
createAnyAttribute in class XsTRestrictionTypeImpl

getAnyAttribute

public XsTWildcard getAnyAttribute()
Description copied from interface: XsGAttrDecls

Returns the instance created by XsGAttrDecls.createAnyAttribute(), or null, if the method wasn't called.

Specified by:
getAnyAttribute in interface XsGAttrDecls
Overrides:
getAnyAttribute in class XsTRestrictionTypeImpl

getAllAttributes

public java.lang.Object[] getAllAttributes()
Description copied from interface: XsGAttrDecls

Returns all objects created by XsGAttrDecls.createAttribute(), XsGAttrDecls.createAttributeGroup(), or XsGAttrDecls.createAnyAttribute(), in the order of the corresponding method calls.

Specified by:
getAllAttributes in interface XsGAttrDecls
Overrides:
getAllAttributes in class XsTRestrictionTypeImpl