|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.ws.jaxme.generator.sg.impl.ObjectSGImpl
public class ObjectSGImpl
Constructor Summary | |
---|---|
ObjectSGImpl(ObjectSGChain o)
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ObjectSGImpl(ObjectSGChain o)
Method Detail |
---|
public XsQName getName()
ObjectSG
Returns the objects name.
getName
in interface ObjectSG
public Context getClassContext()
ObjectSG
Returns the objects Context
.
getClassContext
in interface ObjectSG
public TypeSG getTypeSG()
ObjectSG
Returns the objects type.
getTypeSG
in interface ObjectSG
public JavaSource getXMLInterface() throws org.xml.sax.SAXException
ObjectSG
If the object is global and complex: Generates its XML interface.
getXMLInterface
in interface ObjectSG
org.xml.sax.SAXException
public JavaSource getXMLImplementation() throws org.xml.sax.SAXException
ObjectSG
If the object is global and complex: Generates its XML implementation.
getXMLImplementation
in interface ObjectSG
org.xml.sax.SAXException
public JavaSource getXMLHandler() throws org.xml.sax.SAXException
ObjectSG
If the object is global and complex: Generates its XML handler.
getXMLHandler
in interface ObjectSG
org.xml.sax.SAXException
public JavaSource getXMLSerializer() throws org.xml.sax.SAXException
ObjectSG
If the object is global and complex: Generates its XML serializer.
getXMLSerializer
in interface ObjectSG
org.xml.sax.SAXException
public void generate() throws org.xml.sax.SAXException
ObjectSG
Generates the objects sources.
generate
in interface ObjectSG
org.xml.sax.SAXException
public boolean isGlobal() throws org.xml.sax.SAXException
ObjectSG
ObjectSG
is global.
isGlobal
in interface ObjectSG
org.xml.sax.SAXException
public SGFactory getFactory()
SGItem
Returns the factory that created this item.
getFactory
in interface SGItem
public SchemaSG getSchema()
SGItem
Returns the items schema.
getSchema
in interface SGItem
public org.xml.sax.Locator getLocator()
SGItem
Returns the items location in the schema; useful for error messages.
getLocator
in interface SGItem
public void init() throws org.xml.sax.SAXException
SGItem
Initializes the item.
init
in interface SGItem
org.xml.sax.SAXException
public ObjectSGChain getHeadOfChain()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |