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
extendedType, owner, 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)
           
protected  XSGroup getGroupByParticle(XsTTypeDefParticle pParticle)
           
 XSParticle getParticle()
          If the element hasn't simple content: Returns the complex elements particle.
 boolean hasComplexContent()
           
 
Methods inherited from class org.apache.ws.jaxme.xs.impl.XSTypeImpl.XSComplexTypeImpl
getExtendedType, getOwner, getRestrictedType, getSimpleContent, getXsTComplexType, hasSimpleContent, isAll, isChoice, isElementOnly, isEmpty, isExtension, 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

hasComplexContent

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

getComplexContentType

public XsComplexContentType getComplexContentType()
Description copied from interface: XSComplexType

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

See Also:
XsComplexContentType.EMPTY, XsComplexContentType.ELEMENT_ONLY, XsComplexContentType.MIXED, XSComplexType.isEmpty(), XSComplexType.isElementOnly(), XSComplexType.isMixed()

getParticle

public XSParticle getParticle()
Description copied from interface: XSComplexType

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


getAttributes

public XSAttributable[] getAttributes()
Description copied from interface: XSComplexType

Returns the complex types attributes.