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>
Modifier | Constructor and Description |
---|---|
protected |
XsTTopLevelComplexTypeImpl(XsObject pParent) |
Modifier and Type | Method and Description |
---|---|
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.
|
createAll, createAnyAttribute, createAttribute, createAttributeGroup, createChoice, createComplexContent, createGroup, createSequence, createSimpleContent, getAllAttributes, getAnyAttribute, getAttributeGroups, getAttributes, getComplexContent, getSimpleContent, getTypeDefParticle
createAnnotation, getAnnotation, getId, setId
getOpenAttributes, setAttribute
asXsQName, asXsQName, getContext, getLocator, getNamespaceSupport, getObjectFactory, getParentObject, getXsESchema, isTopLevelObject, isValidated
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createComplexContent, createSimpleContent, getComplexContent, getSimpleContent
createAnnotation, getAnnotation, getId, setId
getOpenAttributes
getLocator, getObjectFactory, getParentObject, getXsESchema, isTopLevelObject
createAll, createChoice, createGroup, createSequence, getTypeDefParticle
createAnyAttribute, createAttribute, createAttributeGroup, getAllAttributes, getAnyAttribute, getAttributeGroups, getAttributes
protected XsTTopLevelComplexTypeImpl(XsObject pParent)
public void setName(XsNCName pName)
setName
in interface XsTComplexType
setName
in class XsTComplexTypeImpl
public XsNCName getName()
getName
in interface XsTComplexType
getName
in class XsTComplexTypeImpl
public void setMixed(boolean pMixed)
setMixed
in interface XsTComplexType
setMixed
in class XsTComplexTypeImpl
public boolean isMixed()
isMixed
in interface XsTComplexType
isMixed
in class XsTComplexTypeImpl
public void setAbstract(boolean pAbstract)
setAbstract
in interface XsTComplexType
setAbstract
in class XsTComplexTypeImpl
public boolean isAbstract()
isAbstract
in interface XsTComplexType
isAbstract
in class XsTComplexTypeImpl
public void setFinal(XsDerivationSet pFinal)
setFinal
in class XsTComplexTypeImpl
public XsDerivationSet getFinal()
getFinal
in class XsTComplexTypeImpl
public void setBlock(XsDerivationSet pBlock)
public XsDerivationSet getBlock()
public void validate() throws org.xml.sax.SAXException
XsObject
validate
in interface XsObject
validate
in class XsObjectImpl
org.xml.sax.SAXException