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

java.lang.Object
  extended by org.apache.ws.jaxme.generator.sg.impl.JAXBComplexTypeSG
All Implemented Interfaces:
ComplexTypeSGChain

public class JAXBComplexTypeSG
extends java.lang.Object
implements ComplexTypeSGChain

Author:
Jochen Wiedmann, Ias

Constructor Summary
protected JAXBComplexTypeSG(TypeSG pTypeSG, XSType pType)
           
protected JAXBComplexTypeSG(TypeSG pTypeSG, XSType pType, Context pContext)
          Constructor for a local type, which is embedded into the enclosing pContext.
 
Method Summary
 void addAttributeSG(ComplexTypeSG pController, AttributeSG pAttribute)
           
 AttributeSG[] getAttributes(ComplexTypeSG pController)
           
 Context getClassContext(ComplexTypeSG pController)
           
 ComplexContentSG getComplexContentSG(ComplexTypeSG pController)
           
 org.xml.sax.Locator getLocator(ComplexTypeSG pController)
           
 SimpleContentSG getSimpleContentSG(ComplexTypeSG pController)
           
 TypeSG getTypeSG(ComplexTypeSG pController)
           
 JavaSource getXMLHandler(ComplexTypeSG pController, JavaQName pQName)
           
 JavaSource getXMLHandler(ComplexTypeSG pController, JavaSource pSource)
           
 JavaSource getXMLImplementation(ComplexTypeSG pController)
           
 JavaSource getXMLImplementation(ComplexTypeSG pController, JavaSource pSource)
           
 JavaSource getXMLInterface(ComplexTypeSG pController)
           
 JavaSource getXMLInterface(ComplexTypeSG pController, JavaSource pSource)
           
 JavaSource getXMLSerializer(ComplexTypeSG pController)
           
 JavaSource getXMLSerializer(ComplexTypeSG pController, JavaSource pSource)
           
 boolean hasAttributes(ComplexTypeSG pController)
           
 boolean hasSimpleContent(ComplexTypeSG pController)
           
 void init(ComplexTypeSG pController)
           
 java.lang.Object newAttributeSG(ComplexTypeSG pController, XSAttribute pAttribute)
           
 java.lang.Object newAttributeSG(ComplexTypeSG pController, XSWildcard pWildcard)
           
 java.lang.Object newComplexContentTypeSG(ComplexTypeSG pController)
           
 java.lang.Object newSimpleContentTypeSG(ComplexTypeSG pController)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JAXBComplexTypeSG

protected JAXBComplexTypeSG(TypeSG pTypeSG,
                            XSType pType)
                     throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException

JAXBComplexTypeSG

protected JAXBComplexTypeSG(TypeSG pTypeSG,
                            XSType pType,
                            Context pContext)
                     throws org.xml.sax.SAXException

Constructor for a local type, which is embedded into the enclosing pContext.

Throws:
org.xml.sax.SAXException
Method Detail

newAttributeSG

public java.lang.Object newAttributeSG(ComplexTypeSG pController,
                                       XSAttribute pAttribute)
                                throws org.xml.sax.SAXException
Specified by:
newAttributeSG in interface ComplexTypeSGChain
Throws:
org.xml.sax.SAXException

newAttributeSG

public java.lang.Object newAttributeSG(ComplexTypeSG pController,
                                       XSWildcard pWildcard)
                                throws org.xml.sax.SAXException
Specified by:
newAttributeSG in interface ComplexTypeSGChain
Throws:
org.xml.sax.SAXException

addAttributeSG

public void addAttributeSG(ComplexTypeSG pController,
                           AttributeSG pAttribute)
                    throws org.xml.sax.SAXException
Specified by:
addAttributeSG in interface ComplexTypeSGChain
Throws:
org.xml.sax.SAXException

init

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

hasSimpleContent

public boolean hasSimpleContent(ComplexTypeSG pController)
Specified by:
hasSimpleContent in interface ComplexTypeSGChain

getTypeSG

public TypeSG getTypeSG(ComplexTypeSG pController)
Specified by:
getTypeSG in interface ComplexTypeSGChain

hasAttributes

public boolean hasAttributes(ComplexTypeSG pController)
Specified by:
hasAttributes in interface ComplexTypeSGChain

getAttributes

public AttributeSG[] getAttributes(ComplexTypeSG pController)
Specified by:
getAttributes in interface ComplexTypeSGChain

getClassContext

public Context getClassContext(ComplexTypeSG pController)
Specified by:
getClassContext in interface ComplexTypeSGChain

getLocator

public org.xml.sax.Locator getLocator(ComplexTypeSG pController)
Specified by:
getLocator in interface ComplexTypeSGChain

getXMLInterface

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

getXMLInterface

public JavaSource getXMLInterface(ComplexTypeSG pController,
                                  JavaSource pSource)
                           throws org.xml.sax.SAXException
Specified by:
getXMLInterface in interface ComplexTypeSGChain
Throws:
org.xml.sax.SAXException

getXMLImplementation

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

getXMLImplementation

public JavaSource getXMLImplementation(ComplexTypeSG pController,
                                       JavaSource pSource)
                                throws org.xml.sax.SAXException
Specified by:
getXMLImplementation in interface ComplexTypeSGChain
Throws:
org.xml.sax.SAXException

getXMLSerializer

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

getXMLSerializer

public JavaSource getXMLSerializer(ComplexTypeSG pController,
                                   JavaSource pSource)
                            throws org.xml.sax.SAXException
Specified by:
getXMLSerializer in interface ComplexTypeSGChain
Throws:
org.xml.sax.SAXException

getXMLHandler

public JavaSource getXMLHandler(ComplexTypeSG pController,
                                JavaQName pQName)
                         throws org.xml.sax.SAXException
Specified by:
getXMLHandler in interface ComplexTypeSGChain
Throws:
org.xml.sax.SAXException

getXMLHandler

public JavaSource getXMLHandler(ComplexTypeSG pController,
                                JavaSource pSource)
                         throws org.xml.sax.SAXException
Specified by:
getXMLHandler in interface ComplexTypeSGChain
Throws:
org.xml.sax.SAXException

getSimpleContentSG

public SimpleContentSG getSimpleContentSG(ComplexTypeSG pController)
Specified by:
getSimpleContentSG in interface ComplexTypeSGChain

getComplexContentSG

public ComplexContentSG getComplexContentSG(ComplexTypeSG pController)
Specified by:
getComplexContentSG in interface ComplexTypeSGChain

newComplexContentTypeSG

public java.lang.Object newComplexContentTypeSG(ComplexTypeSG pController)
                                         throws org.xml.sax.SAXException
Specified by:
newComplexContentTypeSG in interface ComplexTypeSGChain
Throws:
org.xml.sax.SAXException

newSimpleContentTypeSG

public java.lang.Object newSimpleContentTypeSG(ComplexTypeSG pController)
                                        throws org.xml.sax.SAXException
Specified by:
newSimpleContentTypeSG in interface ComplexTypeSGChain
Throws:
org.xml.sax.SAXException