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, getXSObject
protected 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.SAXException
protected JAXBTypeSG(SGFactory pFactory, SchemaSG pSchema, XSType pType, XsQName pName, JAXBProperty.BaseType pBaseType) throws org.xml.sax.SAXException
org.xml.sax.SAXException
protected 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.SAXException
public java.lang.Object newComplexTypeSG(TypeSG pController) throws org.xml.sax.SAXException
newComplexTypeSG
in interface TypeSGChain
org.xml.sax.SAXException
protected XSType getXSType()
public XsQName getName(TypeSG pController)
getName
in interface TypeSGChain
public boolean isGlobalType(TypeSG pController)
isGlobalType
in interface TypeSGChain
public boolean isGlobalClass(TypeSG pController)
isGlobalClass
in interface TypeSGChain
public boolean isComplex(TypeSG pController)
isComplex
in interface TypeSGChain
public org.xml.sax.Locator getLocator(TypeSG pController)
getLocator
in interface TypeSGChain
public SGFactory getFactory(TypeSG pController)
getFactory
in interface TypeSGChain
public SchemaSG getSchema(TypeSG pController)
getSchema
in interface TypeSGChain
public boolean isExtension(TypeSG pController)
isExtension
in interface TypeSGChain
public TypeSG getExtendedType(TypeSG pController)
getExtendedType
in interface TypeSGChain
public boolean isRestriction(TypeSG pController)
isRestriction
in interface TypeSGChain
public TypeSG getRestrictedType(TypeSG pController)
getRestrictedType
in interface TypeSGChain
public void init(TypeSG pController) throws org.xml.sax.SAXException
init
in interface TypeSGChain
org.xml.sax.SAXException
public ComplexTypeSG getComplexTypeSG(TypeSG pController)
getComplexTypeSG
in interface TypeSGChain
public SimpleTypeSG getSimpleTypeSG(TypeSG pController)
getSimpleTypeSG
in interface TypeSGChain
public void generate(TypeSG pController) throws org.xml.sax.SAXException
generate
in interface TypeSGChain
org.xml.sax.SAXException
public void generate(TypeSG pController, JavaSource pSource) throws org.xml.sax.SAXException
generate
in interface TypeSGChain
org.xml.sax.SAXException
public JavaField getXMLField(TypeSG pController, JavaSource pSource, java.lang.String pFieldName, java.lang.String pDefaultValue) throws org.xml.sax.SAXException
getXMLField
in interface TypeSGChain
org.xml.sax.SAXException
public JavaMethod getXMLGetMethod(TypeSG pController, JavaSource pSource, java.lang.String pFieldName, java.lang.String pMethodName) throws org.xml.sax.SAXException
getXMLGetMethod
in interface TypeSGChain
org.xml.sax.SAXException
public 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 TypeSGChain
org.xml.sax.SAXException
public JavaMethod getXMLIsSetMethod(TypeSG pController, JavaSource pSource, java.lang.String pFieldName, java.lang.String pMethodName) throws org.xml.sax.SAXException
getXMLIsSetMethod
in interface TypeSGChain
org.xml.sax.SAXException
public JavaQName getRuntimeType(TypeSG pController) throws org.xml.sax.SAXException
getRuntimeType
in interface TypeSGChain
org.xml.sax.SAXException
public java.lang.Object newSimpleTypeSG(TypeSG pController) throws org.xml.sax.SAXException
newSimpleTypeSG
in interface TypeSGChain
org.xml.sax.SAXException
public java.lang.Object getProperty(TypeSG pController, java.lang.String pName)
getProperty
in interface TypeSGChain
public void setProperty(TypeSG pController, java.lang.String pName, java.lang.Object pValue)
setProperty
in interface TypeSGChain
public XsSchemaHeader getSchemaHeader(TypeSG pController)
getSchemaHeader
in interface TypeSGChain