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

Class XsTSimpleTypeImpl

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

Constructor Summary
protected XsTSimpleTypeImpl(XsObject pParent)
Method Summary
XsEListcreateList()
XsERestrictioncreateRestriction()
XsEUnioncreateUnion()
XsSimpleDerivationSetgetFinal()
XsEListgetList()
XsNCNamegetName()
XsERestrictiongetRestriction()
XsEUniongetUnion()
voidsetFinal(XsSimpleDerivationSet pSet)
voidsetName(XsNCName pName)
voidvalidate()

Constructor Detail

XsTSimpleTypeImpl

protected XsTSimpleTypeImpl(XsObject pParent)

Method Detail

createList

public XsEList createList()

createRestriction

public XsERestriction createRestriction()

createUnion

public XsEUnion createUnion()

getFinal

public XsSimpleDerivationSet getFinal()

getList

public XsEList getList()

getName

public XsNCName getName()

getRestriction

public XsERestriction getRestriction()

getUnion

public XsEUnion getUnion()

setFinal

public void setFinal(XsSimpleDerivationSet pSet)

setName

public void setName(XsNCName pName)

validate

public void validate()