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 SchemaSGChain
public org.xml.sax.Locator getLocator(SchemaSG pController)
getLocator
in interface SchemaSGChain
public SGFactory getFactory(SchemaSG pController)
getFactory
in interface SchemaSGChain
protected XSSchema getXSSchema()
public void init(SchemaSG pController) throws org.xml.sax.SAXException
init
in interface SchemaSGChain
org.xml.sax.SAXException
public TypeSG getType(SchemaSG pController, XsQName pName) throws org.xml.sax.SAXException
getType
in interface SchemaSGChain
org.xml.sax.SAXException
public GroupSG[] getGroups(SchemaSG pController) throws org.xml.sax.SAXException
getGroups
in interface SchemaSGChain
org.xml.sax.SAXException
public GroupSG getGroup(SchemaSG pController, XsQName pName) throws org.xml.sax.SAXException
getGroup
in interface SchemaSGChain
org.xml.sax.SAXException
public TypeSG[] getTypes(SchemaSG pController) throws org.xml.sax.SAXException
getTypes
in interface SchemaSGChain
org.xml.sax.SAXException
public ObjectSG[] getObjects(SchemaSG pController) throws org.xml.sax.SAXException
getObjects
in interface SchemaSGChain
org.xml.sax.SAXException
public ObjectSG getElement(SchemaSG pController, XsQName pName) throws org.xml.sax.SAXException
getElement
in interface SchemaSGChain
org.xml.sax.SAXException
public java.lang.String getCollectionType(SchemaSG pController)
getCollectionType
in interface SchemaSGChain
public JavaSourceFactory getJavaSourceFactory(SchemaSG pController)
getJavaSourceFactory
in interface SchemaSGChain
public void generate(SchemaSG pController) throws org.xml.sax.SAXException
generate
in interface SchemaSGChain
org.xml.sax.SAXException
public ObjectSG[] getElements(SchemaSG pController) throws org.xml.sax.SAXException
getElements
in interface SchemaSGChain
org.xml.sax.SAXException
public boolean isBindingStyleModelGroup(SchemaSG pController)
isBindingStyleModelGroup
in interface SchemaSGChain
public boolean isChoiceContentProperty(SchemaSG pController)
isChoiceContentProperty
in interface SchemaSGChain
public boolean isFailFastCheckEnabled(SchemaSG pController)
isFailFastCheckEnabled
in interface SchemaSGChain
public boolean isJavaNamingConventionsEnabled(SchemaSG pController)
isJavaNamingConventionsEnabled
in interface SchemaSGChain
public boolean isFixedAttributeConstantProperty(SchemaSG pController)
isFixedAttributeConstantProperty
in interface SchemaSGChain
public boolean isGeneratingIsSetMethod(SchemaSG pController)
isGeneratingIsSetMethod
in interface SchemaSGChain
public boolean isUnderscoreWordSeparator(SchemaSG pController)
isUnderscoreWordSeparator
in interface SchemaSGChain
public JAXBJavaType[] getJAXBJavaTypes(SchemaSG pController)
getJAXBJavaTypes
in interface SchemaSGChain
public XsQName[] getTypesafeEnumBase(SchemaSG pController)
getTypesafeEnumBase
in interface SchemaSGChain
public org.w3c.dom.Document getConfigFile(SchemaSG pController, java.lang.String pPackageName, java.util.List pContextList) throws org.xml.sax.SAXException
getConfigFile
in interface SchemaSGChain
org.xml.sax.SAXException
protected java.lang.String generateConfigFile(SchemaSG pController, java.lang.String pPackageName, java.util.List pContextList) throws org.xml.sax.SAXException
org.xml.sax.SAXException
public void generateJaxbProperties(SchemaSG pController) throws org.xml.sax.SAXException
generateJaxbProperties
in interface SchemaSGChain
org.xml.sax.SAXException
protected JavaSource getObjectFactory(SchemaSG pController, java.lang.String pPackageName, java.util.List pContextList) throws org.xml.sax.SAXException
org.xml.sax.SAXException