org.apache.ws.jaxme.generator.sg.impl

Class JAXBObjectSG

public class JAXBObjectSG extends JAXBSGItem implements ObjectSGChain

Author: Jochen Wiedmann

Constructor Summary
JAXBObjectSG(SGFactory pFactory, SchemaSG pSchema, XSAttribute pAttribute, Context pClassContext)

Creates a new, local instance of JAXBObjectSG, generating the given attribute within the given {@link Context}.

JAXBObjectSG(SGFactory pFactory, SchemaSG pSchema, XSElement pElement)

Creates a new, global instance of JAXBObjectSG, generating the given element.

JAXBObjectSG(SGFactory pFactory, SchemaSG pSchema, XSElement pElement, Context pClassContext)

Creates a new, local instance of JAXBObjectSG, generating the given element within the given {@link Context}.

JAXBObjectSG(SGFactory pFactory, SchemaSG pSchema, TypeSG pComplexType, XSSimpleContentType pContainer, XSType pType)

Creates a new instance of JAXBObjectSG generating the given simple content pContent of the given complex type pComplexType.

JAXBObjectSG(SGFactory pFactory, SchemaSG pSchema, XSAny pAny)

Creates a new instance of JAXBObjectSG generating the given wildcard object.

Method Summary
voidgenerate(ObjectSG pController)
ContextgetClassContext(ObjectSG pController)
SGFactorygetFactory(ObjectSG pController)
LocatorgetLocator(ObjectSG pController)
XsQNamegetName(ObjectSG pController)
SchemaSGgetSchema(ObjectSG pController)
TypeSGgetTypeSG(ObjectSG pController)
JavaSourcegetXMLHandler(ObjectSG pController)
JavaSourcegetXMLImplementation(ObjectSG pController)
JavaSourcegetXMLInterface(ObjectSG pController)
JavaSourcegetXMLSerializer(ObjectSG pController)
voidinit(ObjectSG pController)
booleanisGlobal(ObjectSG pController)

Constructor Detail

JAXBObjectSG

public JAXBObjectSG(SGFactory pFactory, SchemaSG pSchema, XSAttribute pAttribute, Context pClassContext)

Creates a new, local instance of JAXBObjectSG, generating the given attribute within the given {@link Context}.

JAXBObjectSG

public JAXBObjectSG(SGFactory pFactory, SchemaSG pSchema, XSElement pElement)

Creates a new, global instance of JAXBObjectSG, generating the given element.

JAXBObjectSG

public JAXBObjectSG(SGFactory pFactory, SchemaSG pSchema, XSElement pElement, Context pClassContext)

Creates a new, local instance of JAXBObjectSG, generating the given element within the given {@link Context}.

JAXBObjectSG

public JAXBObjectSG(SGFactory pFactory, SchemaSG pSchema, TypeSG pComplexType, XSSimpleContentType pContainer, XSType pType)

Creates a new instance of JAXBObjectSG generating the given simple content pContent of the given complex type pComplexType.

JAXBObjectSG

public JAXBObjectSG(SGFactory pFactory, SchemaSG pSchema, XSAny pAny)

Creates a new instance of JAXBObjectSG generating the given wildcard object.

Method Detail

generate

public void generate(ObjectSG pController)

getClassContext

public Context getClassContext(ObjectSG pController)

getFactory

public SGFactory getFactory(ObjectSG pController)

getLocator

public Locator getLocator(ObjectSG pController)

getName

public XsQName getName(ObjectSG pController)

getSchema

public SchemaSG getSchema(ObjectSG pController)

getTypeSG

public TypeSG getTypeSG(ObjectSG pController)

getXMLHandler

public JavaSource getXMLHandler(ObjectSG pController)

getXMLImplementation

public JavaSource getXMLImplementation(ObjectSG pController)

getXMLInterface

public JavaSource getXMLInterface(ObjectSG pController)

getXMLSerializer

public JavaSource getXMLSerializer(ObjectSG pController)

init

public void init(ObjectSG pController)

isGlobal

public boolean isGlobal(ObjectSG pController)