net.sf.jaxme.generator.sg
Interface ObjectSG

All Superinterfaces:
SGItem
All Known Implementing Classes:
ObjectSGImpl

public interface ObjectSG
extends SGItem

A source generator for elements or attributes.

Author:
Jochen Wiedmann

Method Summary
 void generate()
          Generates the objects sources.
 Context getClassContext()
          Returns the objects Context.
 net.sf.jaxme.xs.xml.XsQName getName()
          Returns the objects name.
 TypeSG getTypeSG()
          Returns the objects type.
 net.sf.jaxme.js.JavaSource getXMLHandler()
          If the object is global and complex: Generates its XML handler.
 net.sf.jaxme.js.JavaSource getXMLImplementation()
          If the object is global and complex: Generates its XML implementation.
 net.sf.jaxme.js.JavaSource getXMLInterface()
          If the object is global and complex: Generates its XML interface.
 net.sf.jaxme.js.JavaSource getXMLSerializer()
          If the object is global and complex: Generates its XML serializer.
 
Methods inherited from interface net.sf.jaxme.generator.sg.SGItem
getFactory, getLocator, getSchema, init
 

Method Detail

getName

public net.sf.jaxme.xs.xml.XsQName getName()

Returns the objects name.


getClassContext

public Context getClassContext()

Returns the objects Context.


getTypeSG

public TypeSG getTypeSG()

Returns the objects type.


getXMLInterface

public net.sf.jaxme.js.JavaSource getXMLInterface()
                                           throws SAXException

If the object is global and complex: Generates its XML interface.

Throws:
SAXException

getXMLImplementation

public net.sf.jaxme.js.JavaSource getXMLImplementation()
                                                throws SAXException

If the object is global and complex: Generates its XML implementation.

Throws:
SAXException

getXMLHandler

public net.sf.jaxme.js.JavaSource getXMLHandler()
                                         throws SAXException

If the object is global and complex: Generates its XML handler.

Throws:
SAXException

getXMLSerializer

public net.sf.jaxme.js.JavaSource getXMLSerializer()
                                            throws SAXException

If the object is global and complex: Generates its XML serializer.

Throws:
SAXException

generate

public void generate()
              throws SAXException

Generates the objects sources.

Throws:
SAXException