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

java.lang.Object
  extended by org.apache.ws.jaxme.generator.sg.impl.JAXBSGItem
      extended by org.apache.ws.jaxme.generator.sg.impl.JAXBObjectSG
All 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)
           
 org.xml.sax.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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JAXBObjectSG

public JAXBObjectSG(SGFactory pFactory,
                    SchemaSG pSchema,
                    XSAttribute pAttribute,
                    Context pClassContext)
             throws org.xml.sax.SAXException

Creates a new, local instance of JAXBObjectSG, generating the given attribute within the given Context.

Throws:
org.xml.sax.SAXException

JAXBObjectSG

public JAXBObjectSG(SGFactory pFactory,
                    SchemaSG pSchema,
                    XSElement pElement)
             throws org.xml.sax.SAXException

Creates a new, global instance of JAXBObjectSG, generating the given element.

Throws:
org.xml.sax.SAXException

JAXBObjectSG

public JAXBObjectSG(SGFactory pFactory,
                    SchemaSG pSchema,
                    XSElement pElement,
                    Context pClassContext)
             throws org.xml.sax.SAXException

Creates a new, local instance of JAXBObjectSG, generating the given element within the given Context.

Throws:
org.xml.sax.SAXException

JAXBObjectSG

public JAXBObjectSG(SGFactory pFactory,
                    SchemaSG pSchema,
                    XSAny pAny)

Creates a new instance of JAXBObjectSG generating the given wildcard object.

Method Detail

init

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

getTypeSG

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

getLocator

public org.xml.sax.Locator getLocator(ObjectSG pController)
Specified by:
getLocator in interface ObjectSGChain

getFactory

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

getSchema

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

getClassContext

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

getName

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

getXMLInterface

public JavaSource getXMLInterface(ObjectSG pController)
                           throws org.xml.sax.SAXException
Specified by:
getXMLInterface in interface ObjectSGChain
Throws:
org.xml.sax.SAXException

getXMLImplementation

public JavaSource getXMLImplementation(ObjectSG pController)
                                throws org.xml.sax.SAXException
Specified by:
getXMLImplementation in interface ObjectSGChain
Throws:
org.xml.sax.SAXException

getXMLSerializer

public JavaSource getXMLSerializer(ObjectSG pController)
                            throws org.xml.sax.SAXException
Specified by:
getXMLSerializer in interface ObjectSGChain
Throws:
org.xml.sax.SAXException

getXMLHandler

public JavaSource getXMLHandler(ObjectSG pController)
                         throws org.xml.sax.SAXException
Specified by:
getXMLHandler in interface ObjectSGChain
Throws:
org.xml.sax.SAXException

generate

public void generate(ObjectSG pController)
              throws org.xml.sax.SAXException
Specified by:
generate in interface ObjectSGChain
Throws:
org.xml.sax.SAXException

isGlobal

public boolean isGlobal(ObjectSG pController)
                 throws org.xml.sax.SAXException
Specified by:
isGlobal in interface ObjectSGChain
Throws:
org.xml.sax.SAXException