org.apache.ws.jaxme.xs.impl
Class XSTypeImpl.XSComplexContentImpl

java.lang.Object
  extended by org.apache.ws.jaxme.xs.impl.XSTypeImpl.XSComplexTypeImpl
      extended by org.apache.ws.jaxme.xs.impl.XSTypeImpl.XSComplexContentImpl
All Implemented Interfaces:
XSComplexType
Enclosing class:
XSTypeImpl

public class XSTypeImpl.XSComplexContentImpl
extends XSTypeImpl.XSComplexTypeImpl


Field Summary
 
Fields inherited from class org.apache.ws.jaxme.xs.impl.XSTypeImpl.XSComplexTypeImpl
restrictedType
 
Constructor Summary
XSTypeImpl.XSComplexContentImpl(XSType pOwner, XsTComplexType pType, XsEComplexContent pComplexContent)
           
 
Method Summary
 XSAttributable[] getAttributes()
          Returns the complex types attributes.
protected  XsEComplexContent getComplexContent()
           
 XsComplexContentType getComplexContentType()
          If the element hasn't simple content: Returns the element contents type.
protected  XsComplexContentType getContentTypeByParticle(XsTTypeDefParticle pParticle, XSGroup pGroup)
           
 XSType getExtendedType()
          If the element is an extension: Returns the extended type.
protected  XSGroup getGroupByParticle(XsTTypeDefParticle pParticle)
           
 XSParticle getParticle()
          If the element hasn't simple content: Returns the complex elements particle.
 boolean hasComplexContent()
           
 boolean isExtension()
          Returns whether the element is a extension of another element.
 
Methods inherited from class org.apache.ws.jaxme.xs.impl.XSTypeImpl.XSComplexTypeImpl
getOwner, getRestrictedType, getSimpleContent, getXsTComplexType, hasSimpleContent, isAll, isChoice, isElementOnly, isEmpty, isMixed, isRestriction, isSequence, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XSTypeImpl.XSComplexContentImpl

public XSTypeImpl.XSComplexContentImpl(XSType pOwner,
                                       XsTComplexType pType,
                                       XsEComplexContent pComplexContent)
                                throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException
Method Detail

getComplexContent

protected XsEComplexContent getComplexContent()

getGroupByParticle

protected XSGroup getGroupByParticle(XsTTypeDefParticle pParticle)
                              throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException

getContentTypeByParticle

protected XsComplexContentType getContentTypeByParticle(XsTTypeDefParticle pParticle,
                                                        XSGroup pGroup)
                                                 throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException

getExtendedType

public XSType getExtendedType()
                       throws org.xml.sax.SAXException
Description copied from interface: XSComplexType

If the element is an extension: Returns the extended type.

Specified by:
getExtendedType in interface XSComplexType
Overrides:
getExtendedType in class XSTypeImpl.XSComplexTypeImpl
Throws:
org.xml.sax.SAXException

isExtension

public boolean isExtension()
                    throws org.xml.sax.SAXException
Description copied from interface: XSComplexType

Returns whether the element is a extension of another element.

Specified by:
isExtension in interface XSComplexType
Overrides:
isExtension in class XSTypeImpl.XSComplexTypeImpl
Throws:
org.xml.sax.SAXException

hasComplexContent

public boolean hasComplexContent()
Overrides:
hasComplexContent in class XSTypeImpl.XSComplexTypeImpl

getComplexContentType

public XsComplexContentType getComplexContentType()
                                           throws org.xml.sax.SAXException
Description copied from interface: XSComplexType

If the element hasn't simple content: Returns the element contents type.

Throws:
org.xml.sax.SAXException
See Also:
XsComplexContentType.EMPTY, XsComplexContentType.ELEMENT_ONLY, XsComplexContentType.MIXED, XSComplexType.isEmpty(), XSComplexType.isElementOnly(), XSComplexType.isMixed()

getParticle

public XSParticle getParticle()
                       throws org.xml.sax.SAXException
Description copied from interface: XSComplexType

If the element hasn't simple content: Returns the complex elements particle.

Throws:
org.xml.sax.SAXException

getAttributes

public XSAttributable[] getAttributes()
                               throws org.xml.sax.SAXException
Description copied from interface: XSComplexType

Returns the complex types attributes.

Throws:
org.xml.sax.SAXException