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

java.lang.Object
  extended by org.apache.ws.jaxme.generator.sg.impl.JAXBSGItem
      extended by org.apache.ws.jaxme.generator.sg.impl.JAXBGroupSG
All Implemented Interfaces:
GroupSGChain

public class JAXBGroupSG
extends JAXBSGItem
implements GroupSGChain

Author:
Jochen Wiedmann

Constructor Summary
protected JAXBGroupSG(SGFactory pFactory, SchemaSG pSchema, XSGroup pGroup)
          Creates a new, global group.
protected JAXBGroupSG(SGFactory pFactory, SchemaSG pSchema, XSGroup pGroup, Context pContext)
          Creates a new, local group.
 
Method Summary
 Context getClassContext(GroupSG pController)
           
 SGFactory getFactory(GroupSG pController)
           
 org.xml.sax.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)
           
 java.lang.Object newParticleSG(GroupSG pController, XSParticle pParticle)
           
 
Methods inherited from class org.apache.ws.jaxme.generator.sg.impl.JAXBSGItem
getFactory, getLocator, getSchema, getXSObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JAXBGroupSG

protected JAXBGroupSG(SGFactory pFactory,
                      SchemaSG pSchema,
                      XSGroup pGroup)
               throws org.xml.sax.SAXException

Creates a new, global group.

Throws:
org.xml.sax.SAXException

JAXBGroupSG

protected JAXBGroupSG(SGFactory pFactory,
                      SchemaSG pSchema,
                      XSGroup pGroup,
                      Context pContext)
               throws org.xml.sax.SAXException

Creates a new, local group.

Throws:
org.xml.sax.SAXException
Method Detail

newParticleSG

public java.lang.Object newParticleSG(GroupSG pController,
                                      XSParticle pParticle)
                               throws org.xml.sax.SAXException
Specified by:
newParticleSG in interface GroupSGChain
Throws:
org.xml.sax.SAXException

getClassContext

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

getFactory

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

getSchema

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

getLocator

public org.xml.sax.Locator getLocator(GroupSG pController)
Specified by:
getLocator in interface GroupSGChain

getParticles

public ParticleSG[] getParticles(GroupSG pController)
                          throws org.xml.sax.SAXException
Specified by:
getParticles in interface GroupSGChain
Throws:
org.xml.sax.SAXException

init

public void init(GroupSG pController)
          throws org.xml.sax.SAXException
Specified by:
init in interface GroupSGChain
Throws:
org.xml.sax.SAXException

isAll

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

isGlobal

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

isChoice

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

isSequence

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

getName

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