org.apache.ws.jaxme.generator.sg
Interface ObjectSG
- SGItem
- ObjectSGImpl
public interface ObjectSG
A source generator for elements or attributes.
generate
public void generate()
throws SAXExceptionGenerates the objects sources.
getClassContext
public Context getClassContext()
getName
public XsQName getName()
Returns the objects name.
getTypeSG
public TypeSG getTypeSG()
Returns the objects type.
getXMLHandler
public JavaSource getXMLHandler()
throws SAXExceptionIf the object is global and complex: Generates its XML handler.
getXMLImplementation
public JavaSource getXMLImplementation()
throws SAXExceptionIf the object is global and complex: Generates its XML implementation.
getXMLInterface
public JavaSource getXMLInterface()
throws SAXExceptionIf the object is global and complex: Generates its XML interface.
getXMLSerializer
public JavaSource getXMLSerializer()
throws SAXExceptionIf the object is global and complex: Generates its XML serializer.
isGlobal
public boolean isGlobal()
throws SAXExceptionReturns whether the ObjectSG is global.