public class XsGComplexTypeModelImpl extends java.lang.Object implements XsGComplexTypeModel
Implementation of the group xs:complexTypeModel,
as specified by the following:
<xs:group name="complexTypeModel">
<xs:choice>
<xs:element ref="xs:simpleContent"/>
<xs:element ref="xs:complexContent"/>
<xs:sequence>
<xs:annotation>
<xs:documentation>
This branch is short for <complexContent>
<restriction base="xs:anyType">
...
</restriction>
</complexContent>
</xs:documentation>
</xs:annotation>
<xs:group ref="xs:typeDefParticle" minOccurs="0"/>
<xs:group ref="xs:attrDecls"/>
</xs:sequence>
</xs:choice>
</xs:group>
| Modifier | Constructor and Description |
|---|---|
protected |
XsGComplexTypeModelImpl(XsObject pOwner) |
protected XsGComplexTypeModelImpl(XsObject pOwner)
public XsESimpleContent createSimpleContent()
createSimpleContent in interface XsGComplexTypeModelpublic XsESimpleContent getSimpleContent()
getSimpleContent in interface XsGComplexTypeModelpublic XsEComplexContent createComplexContent()
createComplexContent in interface XsGComplexTypeModelpublic XsEComplexContent getComplexContent()
getComplexContent in interface XsGComplexTypeModelprotected void validateOtherContent()
public XsTAttribute createAttribute()
XsGAttrDeclsCreates a new instance of XsTAttribute.
createAttribute in interface XsGAttrDeclspublic XsTAttribute[] getAttributes()
XsGAttrDeclsReturns an array of all attributes created by
XsGAttrDecls.createAttribute().
getAttributes in interface XsGAttrDeclspublic XsTAttributeGroupRef createAttributeGroup()
XsGAttrDeclsCreates a new instance of XsTAttributeGroup.
createAttributeGroup in interface XsGAttrDeclspublic XsTAttributeGroupRef[] getAttributeGroups()
XsGAttrDeclsReturns an array of all attribute groups created by
XsGAttrDecls.createAttributeGroup();
getAttributeGroups in interface XsGAttrDeclspublic XsTWildcard createAnyAttribute()
XsGAttrDeclsCreates a new instance of XsTWildcard.
createAnyAttribute in interface XsGAttrDeclspublic XsTWildcard getAnyAttribute()
XsGAttrDeclsReturns the instance created by XsGAttrDecls.createAnyAttribute(),
or null, if the method wasn't called.
getAnyAttribute in interface XsGAttrDeclspublic java.lang.Object[] getAllAttributes()
XsGAttrDeclsReturns all objects created by XsGAttrDecls.createAttribute(),
XsGAttrDecls.createAttributeGroup(), or XsGAttrDecls.createAnyAttribute(),
in the order of the corresponding method calls.
getAllAttributes in interface XsGAttrDeclspublic void validate()
throws org.xml.sax.SAXException
org.xml.sax.SAXExceptionpublic XsTGroupRef createGroup()
createGroup in interface XsGTypeDefParticlepublic XsTAll createAll()
createAll in interface XsGTypeDefParticlepublic XsESequence createSequence()
createSequence in interface XsGTypeDefParticlepublic XsEChoice createChoice()
createChoice in interface XsGTypeDefParticlepublic XsTTypeDefParticle getTypeDefParticle()
getTypeDefParticle in interface XsGTypeDefParticle