public class JAXBTypeSG extends JAXBSGItem implements TypeSGChain
| Modifier | Constructor and Description |
|---|---|
protected |
JAXBTypeSG(SGFactory pFactory,
SchemaSG pSchema,
XSType pType,
Context pClassContext,
XsQName pName,
JAXBProperty.BaseType pBaseType)
Creates a new, local instance of JAXBTypeSG.
|
protected |
JAXBTypeSG(SGFactory pFactory,
SchemaSG pSchema,
XSType pType,
JAXBProperty.BaseType pBaseType)
Creates a new, global instance of JAXBTypeSG.
|
protected |
JAXBTypeSG(SGFactory pFactory,
SchemaSG pSchema,
XSType pType,
XsQName pName,
JAXBProperty.BaseType pBaseType) |
| Modifier and Type | Method and Description |
|---|---|
void |
generate(TypeSG pController) |
void |
generate(TypeSG pController,
JavaSource pSource) |
ComplexTypeSG |
getComplexTypeSG(TypeSG pController) |
TypeSG |
getExtendedType(TypeSG pController) |
SGFactory |
getFactory(TypeSG pController) |
org.xml.sax.Locator |
getLocator(TypeSG pController) |
XsQName |
getName(TypeSG pController) |
java.lang.Object |
getProperty(TypeSG pController,
java.lang.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,
java.lang.String pFieldName,
java.lang.String pDefaultValue) |
JavaMethod |
getXMLGetMethod(TypeSG pController,
JavaSource pSource,
java.lang.String pFieldName,
java.lang.String pMethodName) |
JavaMethod |
getXMLIsSetMethod(TypeSG pController,
JavaSource pSource,
java.lang.String pFieldName,
java.lang.String pMethodName)
The implementation of this method is temporarily experimental.
|
JavaMethod |
getXMLSetMethod(TypeSG pController,
JavaSource pSource,
java.lang.String pFieldName,
java.lang.String pParamName,
java.lang.String pMethodName,
boolean pSetIsSet) |
protected XSType |
getXSType() |
void |
init(TypeSG pController) |
boolean |
isComplex(TypeSG pController) |
boolean |
isExtension(TypeSG pController) |
boolean |
isGlobalClass(TypeSG pController) |
boolean |
isGlobalType(TypeSG pController) |
boolean |
isRestriction(TypeSG pController) |
java.lang.Object |
newComplexTypeSG(TypeSG pController) |
java.lang.Object |
newSimpleTypeSG(TypeSG pController) |
void |
setProperty(TypeSG pController,
java.lang.String pName,
java.lang.Object pValue) |
getFactory, getLocator, getSchema, getXSObjectprotected JAXBTypeSG(SGFactory pFactory, SchemaSG pSchema, XSType pType, JAXBProperty.BaseType pBaseType) throws org.xml.sax.SAXException
Creates a new, global instance of JAXBTypeSG.
org.xml.sax.SAXExceptionprotected JAXBTypeSG(SGFactory pFactory, SchemaSG pSchema, XSType pType, XsQName pName, JAXBProperty.BaseType pBaseType) throws org.xml.sax.SAXException
org.xml.sax.SAXExceptionprotected JAXBTypeSG(SGFactory pFactory, SchemaSG pSchema, XSType pType, Context pClassContext, XsQName pName, JAXBProperty.BaseType pBaseType) throws org.xml.sax.SAXException
Creates a new, local instance of JAXBTypeSG. Classes are generated into the given context.
org.xml.sax.SAXExceptionpublic java.lang.Object newComplexTypeSG(TypeSG pController) throws org.xml.sax.SAXException
newComplexTypeSG in interface TypeSGChainorg.xml.sax.SAXExceptionprotected XSType getXSType()
public XsQName getName(TypeSG pController)
getName in interface TypeSGChainpublic boolean isGlobalType(TypeSG pController)
isGlobalType in interface TypeSGChainpublic boolean isGlobalClass(TypeSG pController)
isGlobalClass in interface TypeSGChainpublic boolean isComplex(TypeSG pController)
isComplex in interface TypeSGChainpublic org.xml.sax.Locator getLocator(TypeSG pController)
getLocator in interface TypeSGChainpublic SGFactory getFactory(TypeSG pController)
getFactory in interface TypeSGChainpublic SchemaSG getSchema(TypeSG pController)
getSchema in interface TypeSGChainpublic boolean isExtension(TypeSG pController)
isExtension in interface TypeSGChainpublic TypeSG getExtendedType(TypeSG pController)
getExtendedType in interface TypeSGChainpublic boolean isRestriction(TypeSG pController)
isRestriction in interface TypeSGChainpublic TypeSG getRestrictedType(TypeSG pController)
getRestrictedType in interface TypeSGChainpublic void init(TypeSG pController) throws org.xml.sax.SAXException
init in interface TypeSGChainorg.xml.sax.SAXExceptionpublic ComplexTypeSG getComplexTypeSG(TypeSG pController)
getComplexTypeSG in interface TypeSGChainpublic SimpleTypeSG getSimpleTypeSG(TypeSG pController)
getSimpleTypeSG in interface TypeSGChainpublic void generate(TypeSG pController) throws org.xml.sax.SAXException
generate in interface TypeSGChainorg.xml.sax.SAXExceptionpublic void generate(TypeSG pController, JavaSource pSource) throws org.xml.sax.SAXException
generate in interface TypeSGChainorg.xml.sax.SAXExceptionpublic JavaField getXMLField(TypeSG pController, JavaSource pSource, java.lang.String pFieldName, java.lang.String pDefaultValue) throws org.xml.sax.SAXException
getXMLField in interface TypeSGChainorg.xml.sax.SAXExceptionpublic JavaMethod getXMLGetMethod(TypeSG pController, JavaSource pSource, java.lang.String pFieldName, java.lang.String pMethodName) throws org.xml.sax.SAXException
getXMLGetMethod in interface TypeSGChainorg.xml.sax.SAXExceptionpublic JavaMethod getXMLSetMethod(TypeSG pController, JavaSource pSource, java.lang.String pFieldName, java.lang.String pParamName, java.lang.String pMethodName, boolean pSetIsSet) throws org.xml.sax.SAXException
getXMLSetMethod in interface TypeSGChainorg.xml.sax.SAXExceptionpublic JavaMethod getXMLIsSetMethod(TypeSG pController, JavaSource pSource, java.lang.String pFieldName, java.lang.String pMethodName) throws org.xml.sax.SAXException
getXMLIsSetMethod in interface TypeSGChainorg.xml.sax.SAXExceptionpublic JavaQName getRuntimeType(TypeSG pController) throws org.xml.sax.SAXException
getRuntimeType in interface TypeSGChainorg.xml.sax.SAXExceptionpublic java.lang.Object newSimpleTypeSG(TypeSG pController) throws org.xml.sax.SAXException
newSimpleTypeSG in interface TypeSGChainorg.xml.sax.SAXExceptionpublic java.lang.Object getProperty(TypeSG pController, java.lang.String pName)
getProperty in interface TypeSGChainpublic void setProperty(TypeSG pController, java.lang.String pName, java.lang.Object pValue)
setProperty in interface TypeSGChainpublic XsSchemaHeader getSchemaHeader(TypeSG pController)
getSchemaHeader in interface TypeSGChain