org.apache.ws.jaxme.generator.sg

Interface ObjectSG

public interface ObjectSG extends SGItem

A source generator for elements or attributes.

Author: Jochen Wiedmann

Method Summary
voidgenerate()

Generates the objects sources.

ContextgetClassContext()

Returns the objects {@link Context}.

XsQNamegetName()

Returns the objects name.

TypeSGgetTypeSG()

Returns the objects type.

JavaSourcegetXMLHandler()

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

JavaSourcegetXMLImplementation()

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

JavaSourcegetXMLInterface()

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

JavaSourcegetXMLSerializer()

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

booleanisGlobal()
Returns whether the ObjectSG is global.

Method Detail

generate

public void generate()

Generates the objects sources.

getClassContext

public Context getClassContext()

Returns the objects {@link Context}.

getName

public XsQName getName()

Returns the objects name.

getTypeSG

public TypeSG getTypeSG()

Returns the objects type.

getXMLHandler

public JavaSource getXMLHandler()

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

getXMLImplementation

public JavaSource getXMLImplementation()

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

getXMLInterface

public JavaSource getXMLInterface()

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

getXMLSerializer

public JavaSource getXMLSerializer()

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

isGlobal

public boolean isGlobal()
Returns whether the ObjectSG is global.