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

java.lang.Object
  extended by org.apache.ws.jaxme.xs.xml.impl.XsObjectImpl
      extended by org.apache.ws.jaxme.xs.xml.impl.XsTOpenAttrsImpl
          extended by org.apache.ws.jaxme.xs.xml.impl.XsTAnnotatedImpl
              extended by org.apache.ws.jaxme.xs.xml.impl.XsTComplexTypeImpl
                  extended by org.apache.ws.jaxme.xs.xml.impl.XsTTopLevelComplexTypeImpl
All Implemented Interfaces:
XsGAttrDecls, XsGTypeDefParticle, XsObject, XsRedefinable, XsTAnnotated, XsTComplexType, XsTOpenAttrs, XsTTopLevelComplexType

public class XsTTopLevelComplexTypeImpl
extends XsTComplexTypeImpl
implements XsTTopLevelComplexType

Implementation of a top level xs:complexType, following the specification below:

  <xs:complexType name="topLevelComplexType">
    <xs:complexContent>
      <xs:restriction base="xs:complexType">
        <xs:sequence>
          <xs:element ref="xs:annotation" minOccurs="0"/>
          <xs:group ref="xs:complexTypeModel"/>
        </xs:sequence>
        <xs:attribute name="name" type="xs:NCName" use="required"/>
      </xs:restriction>
    </xs:complexContent>
  </xs:complexType>
 

Author:
Jochen Wiedmann

Constructor Summary
protected XsTTopLevelComplexTypeImpl(XsObject pParent)
           
 
Method Summary
 XsDerivationSet getBlock()
           
 XsDerivationSet getFinal()
           
 XsNCName getName()
           
 boolean isAbstract()
           
 boolean isMixed()
           
 void setAbstract(boolean pAbstract)
           
 void setBlock(XsDerivationSet pBlock)
           
 void setFinal(XsDerivationSet pFinal)
           
 void setMixed(boolean pMixed)
           
 void setName(XsNCName pName)
           
 void validate()
          Validates the internal state of the type, attribute, element, or whatever object.
 
Methods inherited from class org.apache.ws.jaxme.xs.xml.impl.XsTComplexTypeImpl
createAll, createAnyAttribute, createAttribute, createAttributeGroup, createChoice, createComplexContent, createGroup, createSequence, createSimpleContent, getAllAttributes, getAnyAttribute, getAttributeGroups, getAttributes, getComplexContent, getSimpleContent, getTypeDefParticle
 
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.XsTComplexType
createComplexContent, createSimpleContent, getComplexContent, getSimpleContent
 
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
 
Methods inherited from interface org.apache.ws.jaxme.xs.xml.XsGTypeDefParticle
createAll, createChoice, createGroup, createSequence, getTypeDefParticle
 
Methods inherited from interface org.apache.ws.jaxme.xs.xml.XsGAttrDecls
createAnyAttribute, createAttribute, createAttributeGroup, getAllAttributes, getAnyAttribute, getAttributeGroups, getAttributes
 

Constructor Detail

XsTTopLevelComplexTypeImpl

protected XsTTopLevelComplexTypeImpl(XsObject pParent)
Method Detail

setName

public void setName(XsNCName pName)
Specified by:
setName in interface XsTComplexType
Overrides:
setName in class XsTComplexTypeImpl

getName

public XsNCName getName()
Specified by:
getName in interface XsTComplexType
Overrides:
getName in class XsTComplexTypeImpl

setMixed

public void setMixed(boolean pMixed)
Specified by:
setMixed in interface XsTComplexType
Overrides:
setMixed in class XsTComplexTypeImpl

isMixed

public boolean isMixed()
Specified by:
isMixed in interface XsTComplexType
Overrides:
isMixed in class XsTComplexTypeImpl

setAbstract

public void setAbstract(boolean pAbstract)
Specified by:
setAbstract in interface XsTComplexType
Overrides:
setAbstract in class XsTComplexTypeImpl

isAbstract

public boolean isAbstract()
Specified by:
isAbstract in interface XsTComplexType
Overrides:
isAbstract in class XsTComplexTypeImpl

setFinal

public void setFinal(XsDerivationSet pFinal)
Overrides:
setFinal in class XsTComplexTypeImpl

getFinal

public XsDerivationSet getFinal()
Overrides:
getFinal in class XsTComplexTypeImpl

setBlock

public void setBlock(XsDerivationSet pBlock)

getBlock

public XsDerivationSet getBlock()

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