public class JAXBSchemaSG extends java.lang.Object implements SchemaSGChain
| Constructor and Description |
|---|
JAXBSchemaSG(SGFactory pFactory,
XSSchema pSchema)
Creates a new instance of JAXBSchemaSG.
|
| Modifier and Type | Method and Description |
|---|---|
void |
generate(SchemaSG pController) |
protected java.lang.String |
generateConfigFile(SchemaSG pController,
java.lang.String pPackageName,
java.util.List pContextList) |
void |
generateJaxbProperties(SchemaSG pController) |
java.lang.String |
getCollectionType(SchemaSG pController) |
org.w3c.dom.Document |
getConfigFile(SchemaSG pController,
java.lang.String pPackageName,
java.util.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) |
JavaSourceFactory |
getJavaSourceFactory(SchemaSG pController) |
JAXBJavaType[] |
getJAXBJavaTypes(SchemaSG pController) |
org.xml.sax.Locator |
getLocator(SchemaSG pController) |
protected JavaSource |
getObjectFactory(SchemaSG pController,
java.lang.String pPackageName,
java.util.List pContextList) |
ObjectSG[] |
getObjects(SchemaSG pController) |
SchemaSG |
getSchema(SchemaSG pController) |
TypeSG |
getType(SchemaSG pController,
XsQName pName) |
TypeSG[] |
getTypes(SchemaSG pController) |
XsQName[] |
getTypesafeEnumBase(SchemaSG pController) |
protected XSSchema |
getXSSchema() |
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) |
public SchemaSG getSchema(SchemaSG pController)
getSchema in interface SchemaSGChainpublic org.xml.sax.Locator getLocator(SchemaSG pController)
getLocator in interface SchemaSGChainpublic SGFactory getFactory(SchemaSG pController)
getFactory in interface SchemaSGChainprotected XSSchema getXSSchema()
public void init(SchemaSG pController) throws org.xml.sax.SAXException
init in interface SchemaSGChainorg.xml.sax.SAXExceptionpublic TypeSG getType(SchemaSG pController, XsQName pName) throws org.xml.sax.SAXException
getType in interface SchemaSGChainorg.xml.sax.SAXExceptionpublic GroupSG[] getGroups(SchemaSG pController) throws org.xml.sax.SAXException
getGroups in interface SchemaSGChainorg.xml.sax.SAXExceptionpublic GroupSG getGroup(SchemaSG pController, XsQName pName) throws org.xml.sax.SAXException
getGroup in interface SchemaSGChainorg.xml.sax.SAXExceptionpublic TypeSG[] getTypes(SchemaSG pController) throws org.xml.sax.SAXException
getTypes in interface SchemaSGChainorg.xml.sax.SAXExceptionpublic ObjectSG[] getObjects(SchemaSG pController) throws org.xml.sax.SAXException
getObjects in interface SchemaSGChainorg.xml.sax.SAXExceptionpublic ObjectSG getElement(SchemaSG pController, XsQName pName) throws org.xml.sax.SAXException
getElement in interface SchemaSGChainorg.xml.sax.SAXExceptionpublic java.lang.String getCollectionType(SchemaSG pController)
getCollectionType in interface SchemaSGChainpublic JavaSourceFactory getJavaSourceFactory(SchemaSG pController)
getJavaSourceFactory in interface SchemaSGChainpublic void generate(SchemaSG pController) throws org.xml.sax.SAXException
generate in interface SchemaSGChainorg.xml.sax.SAXExceptionpublic ObjectSG[] getElements(SchemaSG pController) throws org.xml.sax.SAXException
getElements in interface SchemaSGChainorg.xml.sax.SAXExceptionpublic boolean isBindingStyleModelGroup(SchemaSG pController)
isBindingStyleModelGroup in interface SchemaSGChainpublic boolean isChoiceContentProperty(SchemaSG pController)
isChoiceContentProperty in interface SchemaSGChainpublic boolean isFailFastCheckEnabled(SchemaSG pController)
isFailFastCheckEnabled in interface SchemaSGChainpublic boolean isJavaNamingConventionsEnabled(SchemaSG pController)
isJavaNamingConventionsEnabled in interface SchemaSGChainpublic boolean isFixedAttributeConstantProperty(SchemaSG pController)
isFixedAttributeConstantProperty in interface SchemaSGChainpublic boolean isGeneratingIsSetMethod(SchemaSG pController)
isGeneratingIsSetMethod in interface SchemaSGChainpublic boolean isUnderscoreWordSeparator(SchemaSG pController)
isUnderscoreWordSeparator in interface SchemaSGChainpublic JAXBJavaType[] getJAXBJavaTypes(SchemaSG pController)
getJAXBJavaTypes in interface SchemaSGChainpublic XsQName[] getTypesafeEnumBase(SchemaSG pController)
getTypesafeEnumBase in interface SchemaSGChainpublic org.w3c.dom.Document getConfigFile(SchemaSG pController, java.lang.String pPackageName, java.util.List pContextList) throws org.xml.sax.SAXException
getConfigFile in interface SchemaSGChainorg.xml.sax.SAXExceptionprotected java.lang.String generateConfigFile(SchemaSG pController, java.lang.String pPackageName, java.util.List pContextList) throws org.xml.sax.SAXException
org.xml.sax.SAXExceptionpublic void generateJaxbProperties(SchemaSG pController) throws org.xml.sax.SAXException
generateJaxbProperties in interface SchemaSGChainorg.xml.sax.SAXExceptionprotected JavaSource getObjectFactory(SchemaSG pController, java.lang.String pPackageName, java.util.List pContextList) throws org.xml.sax.SAXException
org.xml.sax.SAXException