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

Class JAXBSchemaSG

public class JAXBSchemaSG extends Object implements SchemaSGChain

Author: Jochen Wiedmann

Constructor Summary
JAXBSchemaSG(SGFactory pFactory, XSSchema pSchema)

Creates a new instance of JAXBSchemaSG.

Method Summary
voidgenerate(SchemaSG pController)
protected StringgenerateConfigFile(SchemaSG pController, String pPackageName, List pContextList)
voidgenerateJaxbProperties(SchemaSG pController)
StringgetCollectionType(SchemaSG pController)
DocumentgetConfigFile(SchemaSG pController, String pPackageName, List pContextList)
ObjectSGgetElement(SchemaSG pController, XsQName pName)
ObjectSG[]getElements(SchemaSG pController)
SGFactorygetFactory(SchemaSG pController)
GroupSGgetGroup(SchemaSG pController, XsQName pName)
GroupSG[]getGroups(SchemaSG pController)
JAXBJavaType[]getJAXBJavaTypes(SchemaSG pController)
JavaSourceFactorygetJavaSourceFactory(SchemaSG pController)
LocatorgetLocator(SchemaSG pController)
protected JavaSourcegetObjectFactory(SchemaSG pController, String pPackageName, List pContextList)
ObjectSG[]getObjects(SchemaSG pController)
SchemaSGgetSchema(SchemaSG pController)
TypeSGgetType(SchemaSG pController, XsQName pName)
TypeSG[]getTypes(SchemaSG pController)
XsQName[]getTypesafeEnumBase(SchemaSG pController)
protected XSSchemagetXSSchema()
voidinit(SchemaSG pController)
booleanisBindingStyleModelGroup(SchemaSG pController)
booleanisChoiceContentProperty(SchemaSG pController)
booleanisFailFastCheckEnabled(SchemaSG pController)
booleanisFixedAttributeConstantProperty(SchemaSG pController)
booleanisGeneratingIsSetMethod(SchemaSG pController)
booleanisJavaNamingConventionsEnabled(SchemaSG pController)
booleanisUnderscoreWordSeparator(SchemaSG pController)

Constructor Detail

JAXBSchemaSG

public JAXBSchemaSG(SGFactory pFactory, XSSchema pSchema)

Creates a new instance of JAXBSchemaSG.

Method Detail

generate

public void generate(SchemaSG pController)

generateConfigFile

protected String generateConfigFile(SchemaSG pController, String pPackageName, List pContextList)

generateJaxbProperties

public void generateJaxbProperties(SchemaSG pController)

getCollectionType

public String getCollectionType(SchemaSG pController)

getConfigFile

public Document getConfigFile(SchemaSG pController, String pPackageName, List pContextList)

getElement

public ObjectSG getElement(SchemaSG pController, XsQName pName)

getElements

public ObjectSG[] getElements(SchemaSG pController)

getFactory

public SGFactory getFactory(SchemaSG pController)

getGroup

public GroupSG getGroup(SchemaSG pController, XsQName pName)

getGroups

public GroupSG[] getGroups(SchemaSG pController)

getJAXBJavaTypes

public JAXBJavaType[] getJAXBJavaTypes(SchemaSG pController)

getJavaSourceFactory

public JavaSourceFactory getJavaSourceFactory(SchemaSG pController)

getLocator

public Locator getLocator(SchemaSG pController)

getObjectFactory

protected JavaSource getObjectFactory(SchemaSG pController, String pPackageName, List pContextList)

getObjects

public ObjectSG[] getObjects(SchemaSG pController)

getSchema

public SchemaSG getSchema(SchemaSG pController)

getType

public TypeSG getType(SchemaSG pController, XsQName pName)

getTypes

public TypeSG[] getTypes(SchemaSG pController)

getTypesafeEnumBase

public XsQName[] getTypesafeEnumBase(SchemaSG pController)

getXSSchema

protected XSSchema getXSSchema()

init

public void init(SchemaSG pController)

isBindingStyleModelGroup

public boolean isBindingStyleModelGroup(SchemaSG pController)

isChoiceContentProperty

public boolean isChoiceContentProperty(SchemaSG pController)

isFailFastCheckEnabled

public boolean isFailFastCheckEnabled(SchemaSG pController)

isFixedAttributeConstantProperty

public boolean isFixedAttributeConstantProperty(SchemaSG pController)

isGeneratingIsSetMethod

public boolean isGeneratingIsSetMethod(SchemaSG pController)

isJavaNamingConventionsEnabled

public boolean isJavaNamingConventionsEnabled(SchemaSG pController)

isUnderscoreWordSeparator

public boolean isUnderscoreWordSeparator(SchemaSG pController)