|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.ws.jaxme.xs.xml.impl.XsObjectImpl
org.apache.ws.jaxme.xs.xml.impl.XsTOpenAttrsImpl
org.apache.ws.jaxme.xs.xml.impl.XsTAnnotatedImpl
org.apache.ws.jaxme.xs.xml.impl.XsTComplexTypeImpl
Base implementation of a complex type, to be shared
by XsTLocalComplexType and
XsTComplexType.
Follows this specification:
<xs:complexType name="complexType" abstract="true">
<xs:complexContent>
<xs:extension base="xs:annotated">
<xs:group ref="xs:complexTypeModel"/>
<xs:attribute name="name" type="xs:NCName">
<xs:annotation>
<xs:documentation>
Will be restricted to required or forbidden
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="mixed" type="xs:boolean" use="optional" default="false">
<xs:annotation>
<xs:documentation>
Not allowed if simpleContent child is chosen.
May be overriden by setting on complexContent child.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="abstract" type="xs:boolean" use="optional" default="false"/>
<xs:attribute name="final" type="xs:derivationSet"/>
<xs:attribute name="block" type="xs:derivationSet"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<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>
<xs:group name="typeDefParticle">
<xs:annotation>
<xs:documentation>
'complexType' uses this
</xs:documentation>
</xs:annotation>
<xs:choice>
<xs:element name="group" type="xs:groupRef"/>
<xs:element ref="xs:all"/>
<xs:element ref="xs:choice"/>
<xs:element ref="xs:sequence"/>
</xs:choice>
</xs:group>
| Constructor Summary | |
protected |
XsTComplexTypeImpl(XsObject pParent)
|
| 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, getContext, getLocator, getNamespaceSupport, getObjectFactory, getParentObject, getXsESchema, isTopLevelObject, isValidated, validate |
| 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.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, validate |
| Constructor Detail |
protected XsTComplexTypeImpl(XsObject pParent)
| Method Detail |
public XsDerivationSet getFinal()
public void setFinal(XsDerivationSet pFinal)
public XsESimpleContent createSimpleContent()
createSimpleContent in interface XsTComplexTypepublic XsESimpleContent getSimpleContent()
getSimpleContent in interface XsTComplexTypepublic XsEComplexContent createComplexContent()
createComplexContent in interface XsTComplexTypepublic XsEComplexContent getComplexContent()
getComplexContent in interface XsTComplexTypepublic XsTGroupRef createGroup()
createGroup in interface XsGTypeDefParticlepublic XsTAll createAll()
createAll in interface XsGTypeDefParticlepublic XsEChoice createChoice()
createChoice in interface XsGTypeDefParticlepublic XsESequence createSequence()
createSequence in interface XsGTypeDefParticlepublic XsTTypeDefParticle getTypeDefParticle()
getTypeDefParticle in interface XsGTypeDefParticlepublic 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 setName(XsNCName pName)
setName in interface XsTComplexTypepublic XsNCName getName()
getName in interface XsTComplexTypepublic boolean isAbstract()
isAbstract in interface XsTComplexTypepublic void setAbstract(boolean pAbstract)
setAbstract in interface XsTComplexTypepublic boolean isMixed()
isMixed in interface XsTComplexTypepublic void setMixed(boolean pMixed)
setMixed in interface XsTComplexType
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||