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.XsObjectImpl
       org.apache.ws.jaxme.xs.xml.impl.XsTOpenAttrsImpl
org.apache.ws.jaxme.xs.xml.impl.XsTOpenAttrsImpl
           org.apache.ws.jaxme.xs.xml.impl.XsTAnnotatedImpl
org.apache.ws.jaxme.xs.xml.impl.XsTAnnotatedImpl
               org.apache.ws.jaxme.xs.xml.impl.XsTSimpleTypeImpl
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:
- createRestrictionin interface- XsTSimpleType
 
- 
- Throws:
- org.xml.sax.SAXException
 
getRestriction
public XsERestriction getRestriction()
- 
- Specified by:
- getRestrictionin interface- XsTSimpleType
 
- 
 
createList
public XsEList createList()
                   throws org.xml.sax.SAXException
- 
- Specified by:
- createListin interface- XsTSimpleType
 
- 
- Throws:
- org.xml.sax.SAXException
 
getList
public XsEList getList()
- 
- Specified by:
- getListin interface- XsTSimpleType
 
- 
 
createUnion
public XsEUnion createUnion()
                     throws org.xml.sax.SAXException
- 
- Specified by:
- createUnionin interface- XsTSimpleType
 
- 
- Throws:
- org.xml.sax.SAXException
 
getUnion
public XsEUnion getUnion()
- 
- Specified by:
- getUnionin interface- XsTSimpleType
 
- 
 
setFinal
public void setFinal(XsSimpleDerivationSet pSet)
              throws org.xml.sax.SAXException
- 
- Specified by:
- setFinalin interface- XsTSimpleType
 
- 
- Throws:
- org.xml.sax.SAXException
 
getFinal
public XsSimpleDerivationSet getFinal()
- 
- Specified by:
- getFinalin interface- XsTSimpleType
 
- 
 
setName
public void setName(XsNCName pName)
             throws org.xml.sax.SAXException
- 
- Specified by:
- setNamein interface- XsTSimpleType
 
- 
- Throws:
- org.xml.sax.SAXException
 
getName
public XsNCName getName()
- 
- Specified by:
- getNamein 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:
- validatein interface- XsObject
- Overrides:
- validatein class- XsObjectImpl
 
- 
- Throws:
- org.xml.sax.SAXException