org.apache.ws.jaxme.xs.xml.impl
public class XsTComplexTypeImpl extends XsTAnnotatedImpl implements XsTComplexType
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) |
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() |
XsDerivationSet | getFinal() |
XsNCName | getName() |
XsESimpleContent | getSimpleContent() |
XsTTypeDefParticle | getTypeDefParticle() |
boolean | isAbstract() |
boolean | isMixed() |
void | setAbstract(boolean pAbstract) |
void | setFinal(XsDerivationSet pFinal) |
void | setMixed(boolean pMixed) |
void | setName(XsNCName pName) |