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

Class JAXBGroupSG

Implemented Interfaces:
GroupSGChain

public class JAXBGroupSG
extends JAXBSGItem
implements GroupSGChain

Author:
Jochen Wiedmann

Constructor Summary

JAXBGroupSG(SGFactory pFactory, SchemaSG pSchema, XSGroup pGroup)
Creates a new, global group.
JAXBGroupSG(SGFactory pFactory, SchemaSG pSchema, XSGroup pGroup, Context pContext)
Creates a new, local group.

Method Summary

Context
getClassContext(GroupSG pController)
SGFactory
getFactory(GroupSG pController)
Locator
getLocator(GroupSG pController)
XsQName
getName(GroupSG pController)
ParticleSG[]
getParticles(GroupSG pController)
SchemaSG
getSchema(GroupSG pController)
void
init(GroupSG pController)
boolean
isAll(GroupSG pController)
boolean
isChoice(GroupSG pController)
boolean
isGlobal(GroupSG pController)
boolean
isSequence(GroupSG pController)
Object
newParticleSG(GroupSG pController, XSParticle pParticle)

Methods inherited from class org.apache.ws.jaxme.generator.sg.impl.JAXBSGItem

getFactory, getLocator, getSchema, getXSObject

Constructor Details

JAXBGroupSG

protected JAXBGroupSG(SGFactory pFactory,
                      SchemaSG pSchema,
                      XSGroup pGroup)
            throws SAXException
Creates a new, global group.

JAXBGroupSG

protected JAXBGroupSG(SGFactory pFactory,
                      SchemaSG pSchema,
                      XSGroup pGroup,
                      Context pContext)
            throws SAXException
Creates a new, local group.

Method Details

getClassContext

public Context getClassContext(GroupSG pController)
Specified by:
getClassContext in interface GroupSGChain

getFactory

public SGFactory getFactory(GroupSG pController)
Specified by:
getFactory in interface GroupSGChain

getLocator

public Locator getLocator(GroupSG pController)
Specified by:
getLocator in interface GroupSGChain

getName

public XsQName getName(GroupSG pController)
Specified by:
getName in interface GroupSGChain

getParticles

public ParticleSG[] getParticles(GroupSG pController)
            throws SAXException
Specified by:
getParticles in interface GroupSGChain

getSchema

public SchemaSG getSchema(GroupSG pController)
Specified by:
getSchema in interface GroupSGChain

init

public void init(GroupSG pController)
            throws SAXException
Specified by:
init in interface GroupSGChain

isAll

public boolean isAll(GroupSG pController)
Specified by:
isAll in interface GroupSGChain

isChoice

public boolean isChoice(GroupSG pController)
Specified by:
isChoice in interface GroupSGChain

isGlobal

public boolean isGlobal(GroupSG pController)
Specified by:
isGlobal in interface GroupSGChain

isSequence

public boolean isSequence(GroupSG pController)
Specified by:
isSequence in interface GroupSGChain

newParticleSG

public Object newParticleSG(GroupSG pController,
                            XSParticle pParticle)
            throws SAXException
Specified by:
newParticleSG in interface GroupSGChain