public interface ObjectSG extends SGItem
A source generator for elements or attributes.
| Modifier and Type | Method and Description |
|---|---|
void |
generate()
Generates the objects sources.
|
Context |
getClassContext()
Returns the objects
Context. |
XsQName |
getName()
Returns the objects name.
|
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.
|
boolean |
isGlobal()
Returns whether the
ObjectSG is global. |
getFactory, getLocator, getSchema, initXsQName getName()
Returns the objects name.
TypeSG getTypeSG()
Returns the objects type.
JavaSource getXMLInterface() throws org.xml.sax.SAXException
If the object is global and complex: Generates its XML interface.
org.xml.sax.SAXExceptionJavaSource getXMLImplementation() throws org.xml.sax.SAXException
If the object is global and complex: Generates its XML implementation.
org.xml.sax.SAXExceptionJavaSource getXMLHandler() throws org.xml.sax.SAXException
If the object is global and complex: Generates its XML handler.
org.xml.sax.SAXExceptionJavaSource getXMLSerializer() throws org.xml.sax.SAXException
If the object is global and complex: Generates its XML serializer.
org.xml.sax.SAXExceptionvoid generate()
throws org.xml.sax.SAXException
Generates the objects sources.
org.xml.sax.SAXExceptionboolean isGlobal()
throws org.xml.sax.SAXException
ObjectSG is global.org.xml.sax.SAXException