org.apache.ws.jaxme.xs.xml.impl
Class XsTSimpleTypeImpl
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.XsTSimpleTypeImpl
- All Implemented Interfaces:
- XsObject, XsTAnnotated, XsTOpenAttrs, XsTSimpleType
- Direct Known Subclasses:
- XsETopLevelSimpleTypeImpl, XsTLocalSimpleTypeImpl
public class XsTSimpleTypeImpl
- extends XsTAnnotatedImpl
- implements XsTSimpleType
Implementation of the following specification for
xs:simpleType
:
<xs:complexType name="simpleType" abstract="true">
<xs:complexContent>
<xs:extension base="xs:annotated">
<xs:group ref="xs:simpleDerivation"/>
<xs:attribute name="final" type="xs:simpleDerivationSet"/>
<xs:attribute name="name" type="xs:NCName">
<xs:annotation>
<xs:documentation>
Can be restricted to required or forbidden
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:group name="simpleDerivation">
<xs:choice>
<xs:element ref="xs:restriction"/>
<xs:element ref="xs:list"/>
<xs:element ref="xs:union"/>
</xs:choice>
</xs:group>
- Author:
- Jochen Wiedmann
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XsTSimpleTypeImpl
protected XsTSimpleTypeImpl(XsObject pParent)
createRestriction
public XsERestriction createRestriction()
throws org.xml.sax.SAXException
- Specified by:
createRestriction
in interface XsTSimpleType
- Throws:
org.xml.sax.SAXException
getRestriction
public XsERestriction getRestriction()
- Specified by:
getRestriction
in interface XsTSimpleType
createList
public XsEList createList()
throws org.xml.sax.SAXException
- Specified by:
createList
in interface XsTSimpleType
- Throws:
org.xml.sax.SAXException
getList
public XsEList getList()
- Specified by:
getList
in interface XsTSimpleType
createUnion
public XsEUnion createUnion()
throws org.xml.sax.SAXException
- Specified by:
createUnion
in interface XsTSimpleType
- Throws:
org.xml.sax.SAXException
getUnion
public XsEUnion getUnion()
- Specified by:
getUnion
in interface XsTSimpleType
setFinal
public void setFinal(XsSimpleDerivationSet pSet)
throws org.xml.sax.SAXException
- Specified by:
setFinal
in interface XsTSimpleType
- Throws:
org.xml.sax.SAXException
getFinal
public XsSimpleDerivationSet getFinal()
- Specified by:
getFinal
in interface XsTSimpleType
setName
public void setName(XsNCName pName)
throws org.xml.sax.SAXException
- Specified by:
setName
in interface XsTSimpleType
- Throws:
org.xml.sax.SAXException
getName
public XsNCName getName()
- Specified by:
getName
in interface XsTSimpleType
validate
public void validate()
throws org.xml.sax.SAXException
- Description copied from interface:
XsObject
- Validates the internal state of the type, attribute, element,
or whatever object.
- Specified by:
validate
in interface XsObject
- Overrides:
validate
in class XsObjectImpl
- Throws:
org.xml.sax.SAXException