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

Class SchemaSGChainImpl

Implemented Interfaces:
SchemaSGChain
Known Direct Subclasses:
JdbcSchemaSG, TaminoAPI4JSchemaSG

public class SchemaSGChainImpl
extends java.lang.Object
implements SchemaSGChain

Constructor Summary

SchemaSGChainImpl(SchemaSGChain o)

Method Summary

void
generate(SchemaSG pController)
void
generateJaxbProperties(SchemaSG pController)
String
getCollectionType(SchemaSG pController)
Document
getConfigFile(SchemaSG pController, String pPackageName, List pContextList)
ObjectSG
getElement(SchemaSG pController, XsQName pName)
ObjectSG[]
getElements(SchemaSG pController)
SGFactory
getFactory(SchemaSG pController)
GroupSG
getGroup(SchemaSG pController, XsQName pName)
GroupSG[]
getGroups(SchemaSG pController)
JAXBJavaType[]
getJAXBJavaTypes(SchemaSG pController)
JavaSourceFactory
getJavaSourceFactory(SchemaSG pController)
Locator
getLocator(SchemaSG pController)
ObjectSG[]
getObjects(SchemaSG pController)
SchemaSG
getSchema(SchemaSG pController)
TypeSG
getType(SchemaSG pController, XsQName pName)
TypeSG[]
getTypes(SchemaSG pController)
XsQName[]
getTypesafeEnumBase(SchemaSG pController)
void
init(SchemaSG pController)
boolean
isBindingStyleModelGroup(SchemaSG pController)
boolean
isChoiceContentProperty(SchemaSG pController)
boolean
isFailFastCheckEnabled(SchemaSG pController)
boolean
isFixedAttributeConstantProperty(SchemaSG pController)
boolean
isGeneratingIsSetMethod(SchemaSG pController)
boolean
isJavaNamingConventionsEnabled(SchemaSG pController)
boolean
isUnderscoreWordSeparator(SchemaSG pController)

Constructor Details

SchemaSGChainImpl

protected SchemaSGChainImpl(SchemaSGChain o)

Method Details

generate

public void generate(SchemaSG pController)
            throws SAXException
Specified by:
generate in interface SchemaSGChain

generateJaxbProperties

public void generateJaxbProperties(SchemaSG pController)
            throws SAXException
Specified by:
generateJaxbProperties in interface SchemaSGChain

getCollectionType

public String getCollectionType(SchemaSG pController)
Specified by:
getCollectionType in interface SchemaSGChain

getConfigFile

public Document getConfigFile(SchemaSG pController,
                              String pPackageName,
                              List pContextList)
            throws SAXException
Specified by:
getConfigFile in interface SchemaSGChain

getElement

public ObjectSG getElement(SchemaSG pController,
                           XsQName pName)
            throws SAXException
Specified by:
getElement in interface SchemaSGChain

getElements

public ObjectSG[] getElements(SchemaSG pController)
            throws SAXException
Specified by:
getElements in interface SchemaSGChain

getFactory

public SGFactory getFactory(SchemaSG pController)
Specified by:
getFactory in interface SchemaSGChain

getGroup

public GroupSG getGroup(SchemaSG pController,
                        XsQName pName)
            throws SAXException
Specified by:
getGroup in interface SchemaSGChain

getGroups

public GroupSG[] getGroups(SchemaSG pController)
            throws SAXException
Specified by:
getGroups in interface SchemaSGChain

getJAXBJavaTypes

public JAXBJavaType[] getJAXBJavaTypes(SchemaSG pController)
Specified by:
getJAXBJavaTypes in interface SchemaSGChain

getJavaSourceFactory

public JavaSourceFactory getJavaSourceFactory(SchemaSG pController)
Specified by:
getJavaSourceFactory in interface SchemaSGChain

getLocator

public Locator getLocator(SchemaSG pController)
Specified by:
getLocator in interface SchemaSGChain

getObjects

public ObjectSG[] getObjects(SchemaSG pController)
            throws SAXException
Specified by:
getObjects in interface SchemaSGChain

getSchema

public SchemaSG getSchema(SchemaSG pController)
Specified by:
getSchema in interface SchemaSGChain

getType

public TypeSG getType(SchemaSG pController,
                      XsQName pName)
            throws SAXException
Specified by:
getType in interface SchemaSGChain

getTypes

public TypeSG[] getTypes(SchemaSG pController)
            throws SAXException
Specified by:
getTypes in interface SchemaSGChain

getTypesafeEnumBase

public XsQName[] getTypesafeEnumBase(SchemaSG pController)
Specified by:
getTypesafeEnumBase in interface SchemaSGChain

init

public void init(SchemaSG pController)
            throws SAXException
Specified by:
init in interface SchemaSGChain

isBindingStyleModelGroup

public boolean isBindingStyleModelGroup(SchemaSG pController)
Specified by:
isBindingStyleModelGroup in interface SchemaSGChain

isChoiceContentProperty

public boolean isChoiceContentProperty(SchemaSG pController)
Specified by:
isChoiceContentProperty in interface SchemaSGChain

isFailFastCheckEnabled

public boolean isFailFastCheckEnabled(SchemaSG pController)
Specified by:
isFailFastCheckEnabled in interface SchemaSGChain

isFixedAttributeConstantProperty

public boolean isFixedAttributeConstantProperty(SchemaSG pController)
Specified by:
isFixedAttributeConstantProperty in interface SchemaSGChain

isGeneratingIsSetMethod

public boolean isGeneratingIsSetMethod(SchemaSG pController)
Specified by:
isGeneratingIsSetMethod in interface SchemaSGChain

isJavaNamingConventionsEnabled

public boolean isJavaNamingConventionsEnabled(SchemaSG pController)
Specified by:
isJavaNamingConventionsEnabled in interface SchemaSGChain

isUnderscoreWordSeparator

public boolean isUnderscoreWordSeparator(SchemaSG pController)
Specified by:
isUnderscoreWordSeparator in interface SchemaSGChain