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

Class JAXBObjectSG

Implemented Interfaces:
ObjectSGChain

public class JAXBObjectSG
extends JAXBSGItem
implements ObjectSGChain

Author:
Jochen Wiedmann

Constructor Summary

JAXBObjectSG(SGFactory pFactory, SchemaSG pSchema, XSAny pAny)
Creates a new instance of JAXBObjectSG generating the given wildcard object.
JAXBObjectSG(SGFactory pFactory, SchemaSG pSchema, XSAttribute pAttribute, Context pClassContext)
Creates a new, local instance of JAXBObjectSG, generating the given attribute within the given Context.
JAXBObjectSG(SGFactory pFactory, SchemaSG pSchema, XSElement pElement)
Creates a new, global instance of JAXBObjectSG, generating the given element.
JAXBObjectSG(SGFactory pFactory, SchemaSG pSchema, XSElement pElement, Context pClassContext)
Creates a new, local instance of JAXBObjectSG, generating the given element within the given Context.

Method Summary

void
generate(ObjectSG pController)
Context
getClassContext(ObjectSG pController)
SGFactory
getFactory(ObjectSG pController)
Locator
getLocator(ObjectSG pController)
XsQName
getName(ObjectSG pController)
SchemaSG
getSchema(ObjectSG pController)
TypeSG
getTypeSG(ObjectSG pController)
JavaSource
getXMLHandler(ObjectSG pController)
JavaSource
getXMLImplementation(ObjectSG pController)
JavaSource
getXMLInterface(ObjectSG pController)
JavaSource
getXMLSerializer(ObjectSG pController)
void
init(ObjectSG pController)
boolean
isGlobal(ObjectSG pController)

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

getFactory, getLocator, getSchema, getXSObject

Constructor Details

JAXBObjectSG

public JAXBObjectSG(SGFactory pFactory,
                    SchemaSG pSchema,
                    XSAny pAny)
Creates a new instance of JAXBObjectSG generating the given wildcard object.

JAXBObjectSG

public JAXBObjectSG(SGFactory pFactory,
                    SchemaSG pSchema,
                    XSAttribute pAttribute,
                    Context pClassContext)
            throws SAXException
Creates a new, local instance of JAXBObjectSG, generating the given attribute within the given Context.

JAXBObjectSG

public JAXBObjectSG(SGFactory pFactory,
                    SchemaSG pSchema,
                    XSElement pElement)
            throws SAXException
Creates a new, global instance of JAXBObjectSG, generating the given element.

JAXBObjectSG

public JAXBObjectSG(SGFactory pFactory,
                    SchemaSG pSchema,
                    XSElement pElement,
                    Context pClassContext)
            throws SAXException
Creates a new, local instance of JAXBObjectSG, generating the given element within the given Context.

Method Details

generate

public void generate(ObjectSG pController)
            throws SAXException
Specified by:
generate in interface ObjectSGChain

getClassContext

public Context getClassContext(ObjectSG pController)
Specified by:
getClassContext in interface ObjectSGChain

getFactory

public SGFactory getFactory(ObjectSG pController)
Specified by:
getFactory in interface ObjectSGChain

getLocator

public Locator getLocator(ObjectSG pController)
Specified by:
getLocator in interface ObjectSGChain

getName

public XsQName getName(ObjectSG pController)
Specified by:
getName in interface ObjectSGChain

getSchema

public SchemaSG getSchema(ObjectSG pController)
Specified by:
getSchema in interface ObjectSGChain

getTypeSG

public TypeSG getTypeSG(ObjectSG pController)
Specified by:
getTypeSG in interface ObjectSGChain

getXMLHandler

public JavaSource getXMLHandler(ObjectSG pController)
            throws SAXException
Specified by:
getXMLHandler in interface ObjectSGChain

getXMLImplementation

public JavaSource getXMLImplementation(ObjectSG pController)
            throws SAXException
Specified by:
getXMLImplementation in interface ObjectSGChain

getXMLInterface

public JavaSource getXMLInterface(ObjectSG pController)
            throws SAXException
Specified by:
getXMLInterface in interface ObjectSGChain

getXMLSerializer

public JavaSource getXMLSerializer(ObjectSG pController)
            throws SAXException
Specified by:
getXMLSerializer in interface ObjectSGChain

init

public void init(ObjectSG pController)
            throws SAXException
Specified by:
init in interface ObjectSGChain

isGlobal

public boolean isGlobal(ObjectSG pController)
            throws SAXException
Specified by:
isGlobal in interface ObjectSGChain