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

java.lang.Object
  extended by org.apache.ws.jaxme.xs.xml.impl.XsObjectImpl
      extended by org.apache.ws.jaxme.xs.xml.impl.XsTOpenAttrsImpl
          extended by org.apache.ws.jaxme.xs.xml.impl.XsTAnnotatedImpl
              extended by org.apache.ws.jaxme.xs.xml.impl.XsEComplexContentImpl
All Implemented Interfaces:
XsEComplexContent, XsObject, XsTAnnotated, XsTOpenAttrs

public class XsEComplexContentImpl
extends XsTAnnotatedImpl
implements XsEComplexContent

Implementation of the element xs:complexContent, as specified by:

  <xs:element name="complexContent" id="complexContent">
    <xs:annotation>
      <xs:documentation
          source="http://www.w3.org/TR/xmlschema-1/#element-complexContent"/>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="xs:annotated">
          <xs:choice>
            <xs:element name="restriction" type="xs:complexRestrictionType"/>
            <xs:element name="extension" type="xs:extensionType"/>
          </xs:choice>
          <xs:attribute name="mixed" type="xs:boolean">
            <xs:annotation>
              <xs:documentation>
                Overrides any setting on complexType parent.
              </xs:documentation>
            </xs:annotation>
          </xs:attribute>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
 

Author:
Jochen Wiedmann

Constructor Summary
protected XsEComplexContentImpl(XsObject pParent)
           
 
Method Summary
 XsTExtensionType createExtension()
           
 XsTComplexRestrictionType createRestriction()
           
 XsTExtensionType getExtension()
           
 XsTComplexRestrictionType getRestriction()
           
 java.lang.Boolean isMixed()
           
 void setMixed(boolean pMixed)
           
 
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, 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

XsEComplexContentImpl

protected XsEComplexContentImpl(XsObject pParent)
Method Detail

createRestriction

public XsTComplexRestrictionType createRestriction()
Specified by:
createRestriction in interface XsEComplexContent

getRestriction

public XsTComplexRestrictionType getRestriction()
Specified by:
getRestriction in interface XsEComplexContent

createExtension

public XsTExtensionType createExtension()
Specified by:
createExtension in interface XsEComplexContent

getExtension

public XsTExtensionType getExtension()
Specified by:
getExtension in interface XsEComplexContent

setMixed

public void setMixed(boolean pMixed)
Specified by:
setMixed in interface XsEComplexContent

isMixed

public java.lang.Boolean isMixed()
Specified by:
isMixed in interface XsEComplexContent