| Constructor and Description |
|---|
ObjectSGImpl(ObjectSGChain o) |
| Modifier and Type | Method and Description |
|---|---|
void |
generate()
Generates the objects sources.
|
Context |
getClassContext()
Returns the objects
Context. |
SGFactory |
getFactory()
Returns the factory that created this item.
|
ObjectSGChain |
getHeadOfChain() |
org.xml.sax.Locator |
getLocator()
Returns the items location in the schema; useful for
error messages.
|
XsQName |
getName()
Returns the objects name.
|
SchemaSG |
getSchema()
Returns the items schema.
|
TypeSG |
getTypeSG()
Returns the objects type.
|
JavaSource |
getXMLHandler()
If the object is global and complex: Generates its XML handler.
|
JavaSource |
getXMLImplementation()
If the object is global and complex: Generates its XML implementation.
|
JavaSource |
getXMLInterface()
If the object is global and complex: Generates its XML interface.
|
JavaSource |
getXMLSerializer()
If the object is global and complex: Generates its XML serializer.
|
void |
init()
Initializes the item.
|
boolean |
isGlobal()
Returns whether the
ObjectSG is global. |
public ObjectSGImpl(ObjectSGChain o)
public XsQName getName()
ObjectSGReturns the objects name.
public Context getClassContext()
ObjectSGReturns the objects Context.
getClassContext in interface ObjectSGpublic TypeSG getTypeSG()
ObjectSGReturns the objects type.
public JavaSource getXMLInterface() throws org.xml.sax.SAXException
ObjectSGIf the object is global and complex: Generates its XML interface.
getXMLInterface in interface ObjectSGorg.xml.sax.SAXExceptionpublic JavaSource getXMLImplementation() throws org.xml.sax.SAXException
ObjectSGIf the object is global and complex: Generates its XML implementation.
getXMLImplementation in interface ObjectSGorg.xml.sax.SAXExceptionpublic JavaSource getXMLHandler() throws org.xml.sax.SAXException
ObjectSGIf the object is global and complex: Generates its XML handler.
getXMLHandler in interface ObjectSGorg.xml.sax.SAXExceptionpublic JavaSource getXMLSerializer() throws org.xml.sax.SAXException
ObjectSGIf the object is global and complex: Generates its XML serializer.
getXMLSerializer in interface ObjectSGorg.xml.sax.SAXExceptionpublic void generate()
throws org.xml.sax.SAXException
ObjectSGGenerates the objects sources.
public boolean isGlobal()
throws org.xml.sax.SAXException
ObjectSGObjectSG is global.public SGFactory getFactory()
SGItemReturns the factory that created this item.
getFactory in interface SGItempublic SchemaSG getSchema()
SGItemReturns the items schema.
public org.xml.sax.Locator getLocator()
SGItemReturns the items location in the schema; useful for error messages.
getLocator in interface SGItempublic void init()
throws org.xml.sax.SAXException
SGItemInitializes the item.
public ObjectSGChain getHeadOfChain()