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 XsGComplexTypeModel
public XsESimpleContent getSimpleContent()
getSimpleContent
in interface XsGComplexTypeModel
public XsEComplexContent createComplexContent()
createComplexContent
in interface XsGComplexTypeModel
public XsEComplexContent getComplexContent()
getComplexContent
in interface XsGComplexTypeModel
protected void validateOtherContent()
public XsTAttribute createAttribute()
XsGAttrDecls
Creates a new instance of XsTAttribute
.
createAttribute
in interface XsGAttrDecls
public XsTAttribute[] getAttributes()
XsGAttrDecls
Returns an array of all attributes created by
XsGAttrDecls.createAttribute()
.
getAttributes
in interface XsGAttrDecls
public XsTAttributeGroupRef createAttributeGroup()
XsGAttrDecls
Creates a new instance of XsTAttributeGroup
.
createAttributeGroup
in interface XsGAttrDecls
public XsTAttributeGroupRef[] getAttributeGroups()
XsGAttrDecls
Returns an array of all attribute groups created by
XsGAttrDecls.createAttributeGroup()
;
getAttributeGroups
in interface XsGAttrDecls
public XsTWildcard createAnyAttribute()
XsGAttrDecls
Creates a new instance of XsTWildcard
.
createAnyAttribute
in interface XsGAttrDecls
public XsTWildcard getAnyAttribute()
XsGAttrDecls
Returns the instance created by XsGAttrDecls.createAnyAttribute()
,
or null, if the method wasn't called.
getAnyAttribute
in interface XsGAttrDecls
public java.lang.Object[] getAllAttributes()
XsGAttrDecls
Returns all objects created by XsGAttrDecls.createAttribute()
,
XsGAttrDecls.createAttributeGroup()
, or XsGAttrDecls.createAnyAttribute()
,
in the order of the corresponding method calls.
getAllAttributes
in interface XsGAttrDecls
public void validate() throws org.xml.sax.SAXException
org.xml.sax.SAXException
public XsTGroupRef createGroup()
createGroup
in interface XsGTypeDefParticle
public XsTAll createAll()
createAll
in interface XsGTypeDefParticle
public XsESequence createSequence()
createSequence
in interface XsGTypeDefParticle
public XsEChoice createChoice()
createChoice
in interface XsGTypeDefParticle
public XsTTypeDefParticle getTypeDefParticle()
getTypeDefParticle
in interface XsGTypeDefParticle