Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.apache.ws.jaxme.generator.sg.impl.JAXBSGItem
org.apache.ws.jaxme.generator.sg.impl.JAXBTypeSG
Constructor Summary | |
| |
| |
|
Method Summary | |
void | |
void |
|
ComplexTypeSG |
|
TypeSG |
|
SGFactory |
|
Locator |
|
XsQName | |
Object |
|
TypeSG |
|
JavaQName |
|
SchemaSG | |
XsSchemaHeader |
|
SimpleTypeSG |
|
JavaField |
|
JavaMethod |
|
JavaMethod |
|
JavaMethod |
|
protected XSType | |
void | |
boolean | |
boolean |
|
boolean |
|
boolean |
|
boolean |
|
Object |
|
Object |
|
void |
|
Methods inherited from class org.apache.ws.jaxme.generator.sg.impl.JAXBSGItem | |
getFactory , getLocator , getSchema , getXSObject |
protected JAXBTypeSG(SGFactory pFactory, SchemaSG pSchema, XSType pType, Context pClassContext, XsQName pName, JAXBProperty.BaseType pBaseType) throws SAXException
Creates a new, local instance of JAXBTypeSG. Classes are generated into the given context.
protected JAXBTypeSG(SGFactory pFactory, SchemaSG pSchema, XSType pType, JAXBProperty.BaseType pBaseType) throws SAXException
Creates a new, global instance of JAXBTypeSG.
protected JAXBTypeSG(SGFactory pFactory, SchemaSG pSchema, XSType pType, XsQName pName, JAXBProperty.BaseType pBaseType) throws SAXException
public void generate(TypeSG pController) throws SAXException
- Specified by:
- generate in interface TypeSGChain
public void generate(TypeSG pController, JavaSource pSource) throws SAXException
- Specified by:
- generate in interface TypeSGChain
public ComplexTypeSG getComplexTypeSG(TypeSG pController)
- Specified by:
- getComplexTypeSG in interface TypeSGChain
public TypeSG getExtendedType(TypeSG pController)
- Specified by:
- getExtendedType in interface TypeSGChain
public SGFactory getFactory(TypeSG pController)
- Specified by:
- getFactory in interface TypeSGChain
public Locator getLocator(TypeSG pController)
- Specified by:
- getLocator in interface TypeSGChain
public Object getProperty(TypeSG pController, String pName)
- Specified by:
- getProperty in interface TypeSGChain
public TypeSG getRestrictedType(TypeSG pController)
- Specified by:
- getRestrictedType in interface TypeSGChain
public JavaQName getRuntimeType(TypeSG pController) throws SAXException
- Specified by:
- getRuntimeType in interface TypeSGChain
public SchemaSG getSchema(TypeSG pController)
- Specified by:
- getSchema in interface TypeSGChain
public XsSchemaHeader getSchemaHeader(TypeSG pController)
- Specified by:
- getSchemaHeader in interface TypeSGChain
public SimpleTypeSG getSimpleTypeSG(TypeSG pController)
- Specified by:
- getSimpleTypeSG in interface TypeSGChain
public JavaField getXMLField(TypeSG pController, JavaSource pSource, String pFieldName, String pDefaultValue) throws SAXException
- Specified by:
- getXMLField in interface TypeSGChain
public JavaMethod getXMLGetMethod(TypeSG pController, JavaSource pSource, String pFieldName, String pMethodName) throws SAXException
- Specified by:
- getXMLGetMethod in interface TypeSGChain
public JavaMethod getXMLIsSetMethod(TypeSG pController, JavaSource pSource, String pFieldName, String pMethodName) throws SAXException
The implementation of this method is temporarily experimental. isSet and unset methods will be implemented by a flag and corresponding default value if it exist.
- Specified by:
- getXMLIsSetMethod in interface TypeSGChain
public JavaMethod getXMLSetMethod(TypeSG pController, JavaSource pSource, String pFieldName, String pParamName, String pMethodName, boolean pSetIsSet) throws SAXException
- Specified by:
- getXMLSetMethod in interface TypeSGChain
public void init(TypeSG pController) throws SAXException
- Specified by:
- init in interface TypeSGChain
public boolean isComplex(TypeSG pController)
- Specified by:
- isComplex in interface TypeSGChain
public boolean isExtension(TypeSG pController)
- Specified by:
- isExtension in interface TypeSGChain
public boolean isGlobalClass(TypeSG pController)
- Specified by:
- isGlobalClass in interface TypeSGChain
public boolean isGlobalType(TypeSG pController)
- Specified by:
- isGlobalType in interface TypeSGChain
public boolean isRestriction(TypeSG pController)
- Specified by:
- isRestriction in interface TypeSGChain
public Object newComplexTypeSG(TypeSG pController) throws SAXException
- Specified by:
- newComplexTypeSG in interface TypeSGChain
public Object newSimpleTypeSG(TypeSG pController) throws SAXException
- Specified by:
- newSimpleTypeSG in interface TypeSGChain
public void setProperty(TypeSG pController, String pName, Object pValue)
- Specified by:
- setProperty in interface TypeSGChain