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

Class XsGComplexTypeModelImpl

Implemented Interfaces:
XsGAttrDecls, XsGComplexTypeModel, XsGTypeDefParticle

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 &lt;complexContent&gt;
            &lt;restriction base="xs:anyType"&gt;
            ...
            &lt;/restriction&gt;
            &lt;/complexContent&gt;
          </xs:documentation>
        </xs:annotation>
        <xs:group ref="xs:typeDefParticle" minOccurs="0"/>
        <xs:group ref="xs:attrDecls"/>
      </xs:sequence>
    </xs:choice>
  </xs:group>
 
Author:
Jochen Wiedmann

Constructor Summary

XsGComplexTypeModelImpl(XsObject pOwner)

Method Summary

XsTAll
createAll()
XsTWildcard
createAnyAttribute()
XsTAttribute
createAttribute()
XsTAttributeGroupRef
createAttributeGroup()
XsEChoice
createChoice()
XsEComplexContent
createComplexContent()
XsTGroupRef
createGroup()
XsESequence
createSequence()
XsESimpleContent
createSimpleContent()
Object[]
getAllAttributes()
XsTWildcard
getAnyAttribute()
XsTAttributeGroupRef[]
getAttributeGroups()
XsTAttribute[]
getAttributes()
XsEComplexContent
getComplexContent()
XsESimpleContent
getSimpleContent()
XsTTypeDefParticle
getTypeDefParticle()
void
validate()
protected void
validateOtherContent()

Constructor Details

XsGComplexTypeModelImpl

protected XsGComplexTypeModelImpl(XsObject pOwner)

Method Details

createAll

public XsTAll createAll()
Specified by:
createAll in interface XsGTypeDefParticle

createAnyAttribute

public XsTWildcard createAnyAttribute()
Specified by:
createAnyAttribute in interface XsGAttrDecls

createAttribute

public XsTAttribute createAttribute()
Specified by:
createAttribute in interface XsGAttrDecls

createAttributeGroup

public XsTAttributeGroupRef createAttributeGroup()
Specified by:
createAttributeGroup in interface XsGAttrDecls

createChoice

public XsEChoice createChoice()
Specified by:
createChoice in interface XsGTypeDefParticle

createComplexContent

public XsEComplexContent createComplexContent()
Specified by:
createComplexContent in interface XsGComplexTypeModel

createGroup

public XsTGroupRef createGroup()
Specified by:
createGroup in interface XsGTypeDefParticle

createSequence

public XsESequence createSequence()
Specified by:
createSequence in interface XsGTypeDefParticle

createSimpleContent

public XsESimpleContent createSimpleContent()
Specified by:
createSimpleContent in interface XsGComplexTypeModel

getAllAttributes

public Object[] getAllAttributes()
Specified by:
getAllAttributes in interface XsGAttrDecls

getAnyAttribute

public XsTWildcard getAnyAttribute()
Specified by:
getAnyAttribute in interface XsGAttrDecls

getAttributeGroups

public XsTAttributeGroupRef[] getAttributeGroups()
Specified by:
getAttributeGroups in interface XsGAttrDecls

getAttributes

public XsTAttribute[] getAttributes()
Specified by:
getAttributes in interface XsGAttrDecls

getComplexContent

public XsEComplexContent getComplexContent()
Specified by:
getComplexContent in interface XsGComplexTypeModel

getSimpleContent

public XsESimpleContent getSimpleContent()
Specified by:
getSimpleContent in interface XsGComplexTypeModel

getTypeDefParticle

public XsTTypeDefParticle getTypeDefParticle()
Specified by:
getTypeDefParticle in interface XsGTypeDefParticle

validate

public void validate()
            throws SAXException

validateOtherContent

protected void validateOtherContent()