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

Class TypeSGChainImpl

Implemented Interfaces:
TypeSGChain
Known Direct Subclasses:
JdbcTypeSG

public class TypeSGChainImpl
extends java.lang.Object
implements TypeSGChain

Constructor Summary

TypeSGChainImpl(TypeSGChain o)

Method Summary

void
generate(TypeSG pController)
void
generate(TypeSG pController, JavaSource pSource)
ComplexTypeSG
getComplexTypeSG(TypeSG pController)
TypeSG
getExtendedType(TypeSG pController)
SGFactory
getFactory(TypeSG pController)
Locator
getLocator(TypeSG pController)
XsQName
getName(TypeSG pController)
Object
getProperty(TypeSG pController, String pName)
TypeSG
getRestrictedType(TypeSG pController)
JavaQName
getRuntimeType(TypeSG pController)
SchemaSG
getSchema(TypeSG pController)
XsSchemaHeader
getSchemaHeader(TypeSG pController)
SimpleTypeSG
getSimpleTypeSG(TypeSG pController)
JavaField
getXMLField(TypeSG pController, JavaSource pSource, String pFieldName, String pDefaultValue)
JavaMethod
getXMLGetMethod(TypeSG pController, JavaSource pSource, String pFieldName, String pMethodName)
JavaMethod
getXMLIsSetMethod(TypeSG pController, JavaSource pSource, String pFieldName, String pMethodName)
JavaMethod
getXMLSetMethod(TypeSG pController, JavaSource pSource, String pFieldName, String pParamName, String pMethodName, boolean pSetIsSet)
void
init(TypeSG pController)
boolean
isComplex(TypeSG pController)
boolean
isExtension(TypeSG pController)
boolean
isGlobalClass(TypeSG pController)
boolean
isGlobalType(TypeSG pController)
boolean
isRestriction(TypeSG pController)
Object
newComplexTypeSG(TypeSG pController)
Object
newSimpleTypeSG(TypeSG pController)
void
setProperty(TypeSG pController, String pName, Object pValue)

Constructor Details

TypeSGChainImpl

protected TypeSGChainImpl(TypeSGChain o)

Method Details

generate

public void generate(TypeSG pController)
            throws SAXException
Specified by:
generate in interface TypeSGChain

generate

public void generate(TypeSG pController,
                     JavaSource pSource)
            throws SAXException
Specified by:
generate in interface TypeSGChain

getComplexTypeSG

public ComplexTypeSG getComplexTypeSG(TypeSG pController)
Specified by:
getComplexTypeSG in interface TypeSGChain

getExtendedType

public TypeSG getExtendedType(TypeSG pController)
Specified by:
getExtendedType in interface TypeSGChain

getFactory

public SGFactory getFactory(TypeSG pController)
Specified by:
getFactory in interface TypeSGChain

getLocator

public Locator getLocator(TypeSG pController)
Specified by:
getLocator in interface TypeSGChain

getName

public XsQName getName(TypeSG pController)
Specified by:
getName in interface TypeSGChain

getProperty

public Object getProperty(TypeSG pController,
                          String pName)
Specified by:
getProperty in interface TypeSGChain

getRestrictedType

public TypeSG getRestrictedType(TypeSG pController)
Specified by:
getRestrictedType in interface TypeSGChain

getRuntimeType

public JavaQName getRuntimeType(TypeSG pController)
            throws SAXException
Specified by:
getRuntimeType in interface TypeSGChain

getSchema

public SchemaSG getSchema(TypeSG pController)
Specified by:
getSchema in interface TypeSGChain

getSchemaHeader

public XsSchemaHeader getSchemaHeader(TypeSG pController)
Specified by:
getSchemaHeader in interface TypeSGChain

getSimpleTypeSG

public SimpleTypeSG getSimpleTypeSG(TypeSG pController)
Specified by:
getSimpleTypeSG in interface TypeSGChain

getXMLField

public JavaField getXMLField(TypeSG pController,
                             JavaSource pSource,
                             String pFieldName,
                             String pDefaultValue)
            throws SAXException
Specified by:
getXMLField in interface TypeSGChain

getXMLGetMethod

public JavaMethod getXMLGetMethod(TypeSG pController,
                                  JavaSource pSource,
                                  String pFieldName,
                                  String pMethodName)
            throws SAXException
Specified by:
getXMLGetMethod in interface TypeSGChain

getXMLIsSetMethod

public JavaMethod getXMLIsSetMethod(TypeSG pController,
                                    JavaSource pSource,
                                    String pFieldName,
                                    String pMethodName)
            throws SAXException
Specified by:
getXMLIsSetMethod in interface TypeSGChain

getXMLSetMethod

public JavaMethod getXMLSetMethod(TypeSG pController,
                                  JavaSource pSource,
                                  String pFieldName,
                                  String pParamName,
                                  String pMethodName,
                                  boolean pSetIsSet)
            throws SAXException
Specified by:
getXMLSetMethod in interface TypeSGChain

init

public void init(TypeSG pController)
            throws SAXException
Specified by:
init in interface TypeSGChain

isComplex

public boolean isComplex(TypeSG pController)
Specified by:
isComplex in interface TypeSGChain

isExtension

public boolean isExtension(TypeSG pController)
Specified by:
isExtension in interface TypeSGChain

isGlobalClass

public boolean isGlobalClass(TypeSG pController)
Specified by:
isGlobalClass in interface TypeSGChain

isGlobalType

public boolean isGlobalType(TypeSG pController)
Specified by:
isGlobalType in interface TypeSGChain

isRestriction

public boolean isRestriction(TypeSG pController)
Specified by:
isRestriction in interface TypeSGChain

newComplexTypeSG

public Object newComplexTypeSG(TypeSG pController)
            throws SAXException
Specified by:
newComplexTypeSG in interface TypeSGChain

newSimpleTypeSG

public Object newSimpleTypeSG(TypeSG pController)
            throws SAXException
Specified by:
newSimpleTypeSG in interface TypeSGChain

setProperty

public void setProperty(TypeSG pController,
                        String pName,
                        Object pValue)
Specified by:
setProperty in interface TypeSGChain