org.apache.ws.jaxme.generator.sg.impl

Class ComplexContentSGImpl

Implemented Interfaces:
ComplexContentSG

public class ComplexContentSGImpl
extends java.lang.Object
implements ComplexContentSG

Constructor Summary

ComplexContentSGImpl(ComplexContentSGChain o)

Method Summary

ParticleSG[]
getElementParticles()
Returns a list of all element particles, which are being generated as properties of the type.
ComplexContentSGChain
getHeadOfChain()
Locator
getLocator()
Returns the items location in the schema; useful for error messages.
ParticleSG
getRootParticle()
Returns the complex types root particle.
void
init()
Initializes the item.
boolean
isEmpty()
Returns, whether the types content model is empty.
boolean
isMixed()
Returns, whether the types content model is mixed.

Constructor Details

ComplexContentSGImpl

public ComplexContentSGImpl(ComplexContentSGChain o)

Method Details

getElementParticles

public ParticleSG[] getElementParticles()
            throws SAXException
Returns a list of all element particles, which are being generated as properties of the type.
Specified by:
getElementParticles in interface ComplexContentSG

getHeadOfChain

public ComplexContentSGChain getHeadOfChain()

getLocator

public Locator getLocator()
Returns the items location in the schema; useful for error messages.
Specified by:
getLocator in interface ComplexContentSG

getRootParticle

public ParticleSG getRootParticle()
Returns the complex types root particle.
Specified by:
getRootParticle in interface ComplexContentSG

init

public void init()
            throws SAXException
Initializes the item.
Specified by:
init in interface ComplexContentSG

isEmpty

public boolean isEmpty()
Returns, whether the types content model is empty.
Specified by:
isEmpty in interface ComplexContentSG

isMixed

public boolean isMixed()
Returns, whether the types content model is mixed.
Specified by:
isMixed in interface ComplexContentSG