|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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
public class XsTRestrictionTypeImpl
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>
Constructor Summary | |
---|---|
protected |
XsTRestrictionTypeImpl(XsObject pParent)
|
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.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 |
Constructor Detail |
---|
protected XsTRestrictionTypeImpl(XsObject pParent)
Method Detail |
---|
public void setBase(XsQName pBase)
setBase
in interface XsTRestrictionType
public void setBase(java.lang.String pBase) throws org.xml.sax.SAXException
org.xml.sax.SAXException
public XsQName getBase()
getBase
in interface XsTRestrictionType
public XsTGroupRef createGroup()
createGroup
in interface XsGTypeDefParticle
public XsTAll createAll()
createAll
in interface XsGTypeDefParticle
public XsESequence createSequence()
createSequence
in interface XsGTypeDefParticle
public XsEChoice createChoice()
createChoice
in interface XsGTypeDefParticle
public XsTTypeDefParticle getTypeDefParticle()
getTypeDefParticle
in interface XsGTypeDefParticle
public XsTLocalSimpleType createSimpleType() throws org.xml.sax.SAXException
createSimpleType
in interface XsGSimpleRestrictionModel
org.xml.sax.SAXException
public XsTLocalSimpleType getSimpleType()
getSimpleType
in interface XsGSimpleRestrictionModel
public XsEMinExclusive createMinExclusive() throws org.xml.sax.SAXException
createMinExclusive
in interface XsGSimpleRestrictionModel
org.xml.sax.SAXException
public XsEMinExclusive getMinExclusive()
getMinExclusive
in interface XsGSimpleRestrictionModel
public XsEMinInclusive createMinInclusive() throws org.xml.sax.SAXException
createMinInclusive
in interface XsGSimpleRestrictionModel
org.xml.sax.SAXException
public XsEMinInclusive getMinInclusive()
getMinInclusive
in interface XsGSimpleRestrictionModel
public XsEMaxExclusive createMaxExclusive() throws org.xml.sax.SAXException
createMaxExclusive
in interface XsGSimpleRestrictionModel
org.xml.sax.SAXException
public XsEMaxExclusive getMaxExclusive()
getMaxExclusive
in interface XsGSimpleRestrictionModel
public XsEMaxInclusive createMaxInclusive() throws org.xml.sax.SAXException
createMaxInclusive
in interface XsGSimpleRestrictionModel
org.xml.sax.SAXException
public XsEMaxInclusive getMaxInclusive()
getMaxInclusive
in interface XsGSimpleRestrictionModel
public XsETotalDigits createTotalDigits() throws org.xml.sax.SAXException
createTotalDigits
in interface XsGSimpleRestrictionModel
org.xml.sax.SAXException
public XsETotalDigits getTotalDigits()
getTotalDigits
in interface XsGSimpleRestrictionModel
public XsEFractionDigits createFractionDigits() throws org.xml.sax.SAXException
createFractionDigits
in interface XsGSimpleRestrictionModel
org.xml.sax.SAXException
public XsEFractionDigits getFractionDigits()
getFractionDigits
in interface XsGSimpleRestrictionModel
public XsELength createLength() throws org.xml.sax.SAXException
createLength
in interface XsGSimpleRestrictionModel
org.xml.sax.SAXException
public XsELength getLength()
getLength
in interface XsGSimpleRestrictionModel
public XsEMinLength createMinLength() throws org.xml.sax.SAXException
createMinLength
in interface XsGSimpleRestrictionModel
org.xml.sax.SAXException
public XsEMinLength getMinLength()
getMinLength
in interface XsGSimpleRestrictionModel
public XsEMaxLength createMaxLength() throws org.xml.sax.SAXException
createMaxLength
in interface XsGSimpleRestrictionModel
org.xml.sax.SAXException
public XsEMaxLength getMaxLength()
getMaxLength
in interface XsGSimpleRestrictionModel
public XsEWhiteSpace createWhiteSpace() throws org.xml.sax.SAXException
createWhiteSpace
in interface XsGSimpleRestrictionModel
org.xml.sax.SAXException
public XsEWhiteSpace getWhiteSpace()
getWhiteSpace
in interface XsGSimpleRestrictionModel
public XsEPattern createPattern() throws org.xml.sax.SAXException
createPattern
in interface XsGSimpleRestrictionModel
org.xml.sax.SAXException
public XsEPattern[] getPatterns()
getPatterns
in interface XsGSimpleRestrictionModel
public XsEEnumeration createEnumeration() throws org.xml.sax.SAXException
createEnumeration
in interface XsGSimpleRestrictionModel
org.xml.sax.SAXException
public XsEEnumeration[] getEnumerations()
getEnumerations
in interface XsGSimpleRestrictionModel
public boolean hasFacets()
XsGSimpleRestrictionModel
Returns whether any facet has been defined.
hasFacets
in interface XsGSimpleRestrictionModel
public XsTFacetBase[] getFacets()
XsGSimpleRestrictionModel
Returns an array of all facets.
getFacets
in interface XsGSimpleRestrictionModel
public XsTAttribute createAttribute()
XsGAttrDecls
Creates a new instance of XsTAttribute
.
createAttribute
in interface XsGAttrDecls
public XsTAttribute[] getAttributes()
XsGAttrDecls
Returns an array of all attributes created by
XsGAttrDecls.createAttribute()
.
getAttributes
in interface XsGAttrDecls
public XsTAttributeGroupRef createAttributeGroup()
XsGAttrDecls
Creates a new instance of XsTAttributeGroup
.
createAttributeGroup
in interface XsGAttrDecls
public XsTAttributeGroupRef[] getAttributeGroups()
XsGAttrDecls
Returns an array of all attribute groups created by
XsGAttrDecls.createAttributeGroup()
;
getAttributeGroups
in interface XsGAttrDecls
public XsTWildcard createAnyAttribute()
XsGAttrDecls
Creates a new instance of XsTWildcard
.
createAnyAttribute
in interface XsGAttrDecls
public XsTWildcard getAnyAttribute()
XsGAttrDecls
Returns the instance created by XsGAttrDecls.createAnyAttribute()
,
or null, if the method wasn't called.
getAnyAttribute
in interface XsGAttrDecls
public java.lang.Object[] getAllAttributes()
XsGAttrDecls
Returns all objects created by XsGAttrDecls.createAttribute()
,
XsGAttrDecls.createAttributeGroup()
, or XsGAttrDecls.createAnyAttribute()
,
in the order of the corresponding method calls.
getAllAttributes
in interface XsGAttrDecls
public void validate() throws org.xml.sax.SAXException
XsObject
validate
in interface XsObject
validate
in class XsObjectImpl
org.xml.sax.SAXException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |