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, init
XsQName 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.SAXException
JavaSource getXMLImplementation() throws org.xml.sax.SAXException
If the object is global and complex: Generates its XML implementation.
org.xml.sax.SAXException
JavaSource getXMLHandler() throws org.xml.sax.SAXException
If the object is global and complex: Generates its XML handler.
org.xml.sax.SAXException
JavaSource getXMLSerializer() throws org.xml.sax.SAXException
If the object is global and complex: Generates its XML serializer.
org.xml.sax.SAXException
void generate() throws org.xml.sax.SAXException
Generates the objects sources.
org.xml.sax.SAXException
boolean isGlobal() throws org.xml.sax.SAXException
ObjectSG
is global.org.xml.sax.SAXException