java.lang.Object
org.apache.ws.jaxme.xs.xml.impl.XsObjectImpl
org.apache.ws.jaxme.xs.xml.impl.XsTOpenAttrsImpl
org.apache.ws.jaxme.xs.xml.impl.XsTAnnotatedImpl
org.apache.ws.jaxme.xs.xml.impl.XsTRestrictionTypeImpl
- All Implemented Interfaces:
- org.apache.ws.jaxme.xs.xml.XsGAttrDecls, org.apache.ws.jaxme.xs.xml.XsGSimpleRestrictionModel, org.apache.ws.jaxme.xs.xml.XsGTypeDefParticle, org.apache.ws.jaxme.xs.xml.XsObject, org.apache.ws.jaxme.xs.xml.XsTAnnotated, org.apache.ws.jaxme.xs.xml.XsTOpenAttrs, org.apache.ws.jaxme.xs.xml.XsTRestrictionType
- Direct Known Subclasses:
- XsTComplexRestrictionTypeImpl, XsTSimpleRestrictionTypeImpl
- public class XsTRestrictionTypeImpl
- extends XsTAnnotatedImpl
- implements org.apache.ws.jaxme.xs.xml.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>
| Fields inherited from class org.apache.ws.jaxme.xs.xml.impl.XsObjectImpl |
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
base
private org.apache.ws.jaxme.xs.xml.XsQName base
typeDefParticle
private final org.apache.ws.jaxme.xs.xml.XsGTypeDefParticle typeDefParticle
simpleRestrictionModel
private final org.apache.ws.jaxme.xs.xml.XsGSimpleRestrictionModel simpleRestrictionModel
attrDecls
private final org.apache.ws.jaxme.xs.xml.XsGAttrDecls attrDecls
XsTRestrictionTypeImpl
protected XsTRestrictionTypeImpl(org.apache.ws.jaxme.xs.xml.XsObject pParent)
setBase
public void setBase(org.apache.ws.jaxme.xs.xml.XsQName pBase)
- Specified by:
setBase in interface org.apache.ws.jaxme.xs.xml.XsTRestrictionType
setBase
public void setBase(java.lang.String pBase)
throws org.xml.sax.SAXException
getBase
public org.apache.ws.jaxme.xs.xml.XsQName getBase()
- Specified by:
getBase in interface org.apache.ws.jaxme.xs.xml.XsTRestrictionType
createGroup
public org.apache.ws.jaxme.xs.xml.XsTGroupRef createGroup()
- Specified by:
createGroup in interface org.apache.ws.jaxme.xs.xml.XsGTypeDefParticle
createAll
public org.apache.ws.jaxme.xs.xml.XsTAll createAll()
- Specified by:
createAll in interface org.apache.ws.jaxme.xs.xml.XsGTypeDefParticle
createSequence
public org.apache.ws.jaxme.xs.xml.XsESequence createSequence()
- Specified by:
createSequence in interface org.apache.ws.jaxme.xs.xml.XsGTypeDefParticle
createChoice
public org.apache.ws.jaxme.xs.xml.XsEChoice createChoice()
- Specified by:
createChoice in interface org.apache.ws.jaxme.xs.xml.XsGTypeDefParticle
getTypeDefParticle
public org.apache.ws.jaxme.xs.xml.XsTTypeDefParticle getTypeDefParticle()
- Specified by:
getTypeDefParticle in interface org.apache.ws.jaxme.xs.xml.XsGTypeDefParticle
createSimpleType
public org.apache.ws.jaxme.xs.xml.XsTLocalSimpleType createSimpleType()
throws org.xml.sax.SAXException
- Specified by:
createSimpleType in interface org.apache.ws.jaxme.xs.xml.XsGSimpleRestrictionModel
getSimpleType
public org.apache.ws.jaxme.xs.xml.XsTLocalSimpleType getSimpleType()
- Specified by:
getSimpleType in interface org.apache.ws.jaxme.xs.xml.XsGSimpleRestrictionModel
createMinExclusive
public org.apache.ws.jaxme.xs.xml.XsEMinExclusive createMinExclusive()
throws org.xml.sax.SAXException
- Specified by:
createMinExclusive in interface org.apache.ws.jaxme.xs.xml.XsGSimpleRestrictionModel
getMinExclusive
public org.apache.ws.jaxme.xs.xml.XsEMinExclusive getMinExclusive()
- Specified by:
getMinExclusive in interface org.apache.ws.jaxme.xs.xml.XsGSimpleRestrictionModel
createMinInclusive
public org.apache.ws.jaxme.xs.xml.XsEMinInclusive createMinInclusive()
throws org.xml.sax.SAXException
- Specified by:
createMinInclusive in interface org.apache.ws.jaxme.xs.xml.XsGSimpleRestrictionModel
getMinInclusive
public org.apache.ws.jaxme.xs.xml.XsEMinInclusive getMinInclusive()
- Specified by:
getMinInclusive in interface org.apache.ws.jaxme.xs.xml.XsGSimpleRestrictionModel
createMaxExclusive
public org.apache.ws.jaxme.xs.xml.XsEMaxExclusive createMaxExclusive()
throws org.xml.sax.SAXException
- Specified by:
createMaxExclusive in interface org.apache.ws.jaxme.xs.xml.XsGSimpleRestrictionModel
getMaxExclusive
public org.apache.ws.jaxme.xs.xml.XsEMaxExclusive getMaxExclusive()
- Specified by:
getMaxExclusive in interface org.apache.ws.jaxme.xs.xml.XsGSimpleRestrictionModel
createMaxInclusive
public org.apache.ws.jaxme.xs.xml.XsEMaxInclusive createMaxInclusive()
throws org.xml.sax.SAXException
- Specified by:
createMaxInclusive in interface org.apache.ws.jaxme.xs.xml.XsGSimpleRestrictionModel
getMaxInclusive
public org.apache.ws.jaxme.xs.xml.XsEMaxInclusive getMaxInclusive()
- Specified by:
getMaxInclusive in interface org.apache.ws.jaxme.xs.xml.XsGSimpleRestrictionModel
createTotalDigits
public org.apache.ws.jaxme.xs.xml.XsETotalDigits createTotalDigits()
throws org.xml.sax.SAXException
- Specified by:
createTotalDigits in interface org.apache.ws.jaxme.xs.xml.XsGSimpleRestrictionModel
getTotalDigits
public org.apache.ws.jaxme.xs.xml.XsETotalDigits getTotalDigits()
- Specified by:
getTotalDigits in interface org.apache.ws.jaxme.xs.xml.XsGSimpleRestrictionModel
createFractionDigits
public org.apache.ws.jaxme.xs.xml.XsEFractionDigits createFractionDigits()
throws org.xml.sax.SAXException
- Specified by:
createFractionDigits in interface org.apache.ws.jaxme.xs.xml.XsGSimpleRestrictionModel
getFractionDigits
public org.apache.ws.jaxme.xs.xml.XsEFractionDigits getFractionDigits()
- Specified by:
getFractionDigits in interface org.apache.ws.jaxme.xs.xml.XsGSimpleRestrictionModel
createLength
public org.apache.ws.jaxme.xs.xml.XsELength createLength()
throws org.xml.sax.SAXException
- Specified by:
createLength in interface org.apache.ws.jaxme.xs.xml.XsGSimpleRestrictionModel
getLength
public org.apache.ws.jaxme.xs.xml.XsELength getLength()
- Specified by:
getLength in interface org.apache.ws.jaxme.xs.xml.XsGSimpleRestrictionModel
createMinLength
public org.apache.ws.jaxme.xs.xml.XsEMinLength createMinLength()
throws org.xml.sax.SAXException
- Specified by:
createMinLength in interface org.apache.ws.jaxme.xs.xml.XsGSimpleRestrictionModel
getMinLength
public org.apache.ws.jaxme.xs.xml.XsEMinLength getMinLength()
- Specified by:
getMinLength in interface org.apache.ws.jaxme.xs.xml.XsGSimpleRestrictionModel
createMaxLength
public org.apache.ws.jaxme.xs.xml.XsEMaxLength createMaxLength()
throws org.xml.sax.SAXException
- Specified by:
createMaxLength in interface org.apache.ws.jaxme.xs.xml.XsGSimpleRestrictionModel
getMaxLength
public org.apache.ws.jaxme.xs.xml.XsEMaxLength getMaxLength()
- Specified by:
getMaxLength in interface org.apache.ws.jaxme.xs.xml.XsGSimpleRestrictionModel
createWhiteSpace
public org.apache.ws.jaxme.xs.xml.XsEWhiteSpace createWhiteSpace()
throws org.xml.sax.SAXException
- Specified by:
createWhiteSpace in interface org.apache.ws.jaxme.xs.xml.XsGSimpleRestrictionModel
getWhiteSpace
public org.apache.ws.jaxme.xs.xml.XsEWhiteSpace getWhiteSpace()
- Specified by:
getWhiteSpace in interface org.apache.ws.jaxme.xs.xml.XsGSimpleRestrictionModel
createPattern
public org.apache.ws.jaxme.xs.xml.XsEPattern createPattern()
throws org.xml.sax.SAXException
- Specified by:
createPattern in interface org.apache.ws.jaxme.xs.xml.XsGSimpleRestrictionModel
getPatterns
public org.apache.ws.jaxme.xs.xml.XsEPattern[] getPatterns()
- Specified by:
getPatterns in interface org.apache.ws.jaxme.xs.xml.XsGSimpleRestrictionModel
createEnumeration
public org.apache.ws.jaxme.xs.xml.XsEEnumeration createEnumeration()
throws org.xml.sax.SAXException
- Specified by:
createEnumeration in interface org.apache.ws.jaxme.xs.xml.XsGSimpleRestrictionModel
getEnumerations
public org.apache.ws.jaxme.xs.xml.XsEEnumeration[] getEnumerations()
- Specified by:
getEnumerations in interface org.apache.ws.jaxme.xs.xml.XsGSimpleRestrictionModel
hasFacets
public boolean hasFacets()
- Description copied from interface:
org.apache.ws.jaxme.xs.xml.XsGSimpleRestrictionModel
Returns whether any facet has been defined.
- Specified by:
hasFacets in interface org.apache.ws.jaxme.xs.xml.XsGSimpleRestrictionModel
getFacets
public org.apache.ws.jaxme.xs.xml.XsTFacetBase[] getFacets()
- Description copied from interface:
org.apache.ws.jaxme.xs.xml.XsGSimpleRestrictionModel
Returns an array of all facets.
- Specified by:
getFacets in interface org.apache.ws.jaxme.xs.xml.XsGSimpleRestrictionModel
createAttribute
public org.apache.ws.jaxme.xs.xml.XsTAttribute createAttribute()
- Description copied from interface:
org.apache.ws.jaxme.xs.xml.XsGAttrDecls
Creates a new instance of org.apache.ws.jaxme.xs.xml.XsTAttribute.
- Specified by:
createAttribute in interface org.apache.ws.jaxme.xs.xml.XsGAttrDecls
getAttributes
public org.apache.ws.jaxme.xs.xml.XsTAttribute[] getAttributes()
- Description copied from interface:
org.apache.ws.jaxme.xs.xml.XsGAttrDecls
Returns an array of all attributes created by
XsGAttrDecls.createAttribute()>XsGAttrDecls.createAttribute() 55 .
- Specified by:
getAttributes in interface org.apache.ws.jaxme.xs.xml.XsGAttrDecls
createAttributeGroup
public org.apache.ws.jaxme.xs.xml.XsTAttributeGroupRef createAttributeGroup()
- Description copied from interface:
org.apache.ws.jaxme.xs.xml.XsGAttrDecls
Creates a new instance of org.apache.ws.jaxme.xs.xml.XsTAttributeGroup.
- Specified by:
createAttributeGroup in interface org.apache.ws.jaxme.xs.xml.XsGAttrDecls
getAttributeGroups
public org.apache.ws.jaxme.xs.xml.XsTAttributeGroupRef[] getAttributeGroups()
- Description copied from interface:
org.apache.ws.jaxme.xs.xml.XsGAttrDecls
Returns an array of all attribute groups created by
XsGAttrDecls.createAttributeGroup()>XsGAttrDecls.createAttributeGroup() 55 ;
- Specified by:
getAttributeGroups in interface org.apache.ws.jaxme.xs.xml.XsGAttrDecls
createAnyAttribute
public org.apache.ws.jaxme.xs.xml.XsTWildcard createAnyAttribute()
- Description copied from interface:
org.apache.ws.jaxme.xs.xml.XsGAttrDecls
Creates a new instance of org.apache.ws.jaxme.xs.xml.XsTWildcard.
- Specified by:
createAnyAttribute in interface org.apache.ws.jaxme.xs.xml.XsGAttrDecls
getAnyAttribute
public org.apache.ws.jaxme.xs.xml.XsTWildcard getAnyAttribute()
- Description copied from interface:
org.apache.ws.jaxme.xs.xml.XsGAttrDecls
Returns the instance created by XsGAttrDecls.createAnyAttribute()>XsGAttrDecls.createAnyAttribute() 55 ,
or null, if the method wasn't called.
- Specified by:
getAnyAttribute in interface org.apache.ws.jaxme.xs.xml.XsGAttrDecls
getAllAttributes
public java.lang.Object[] getAllAttributes()
- Description copied from interface:
org.apache.ws.jaxme.xs.xml.XsGAttrDecls
Returns all objects created by XsGAttrDecls.createAttribute()>XsGAttrDecls.createAttribute() 55 ,
XsGAttrDecls.createAttributeGroup()>XsGAttrDecls.createAttributeGroup() 55 , or XsGAttrDecls.createAnyAttribute()>XsGAttrDecls.createAnyAttribute() 55 ,
in the order of the corresponding method calls.
- Specified by:
getAllAttributes in interface org.apache.ws.jaxme.xs.xml.XsGAttrDecls
validate
public void validate()
throws org.xml.sax.SAXException
- Description copied from interface:
org.apache.ws.jaxme.xs.xml.XsObject
- Validates the internal state of the type, attribute, element,
or whatever object.
- Specified by:
validate in interface org.apache.ws.jaxme.xs.xml.XsObject- Overrides:
validate in class XsObjectImpl