|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.ws.jaxme.generator.sg.impl.ComplexTypeSGImpl
| Constructor Summary | |
ComplexTypeSGImpl(ComplexTypeSGChain o)
|
|
| Method Summary | |
void |
addAttributeSG(AttributeSG p0)
Adds the given AttributeSG to the list of attributes
and invokes the method SGItem.init()
on it. |
void |
generateXMLHandlerMethods(JavaSource p0)
Generates the types handler by adding methods to the given class. |
void |
generateXMLImplementationMethods(JavaSource p0)
Generates the types implementation by adding methods to the given class. |
void |
generateXMLInterfaceMethods(JavaSource p0)
Generates the types interface by adding methods to the given class. |
void |
generateXMLSerializerMethods(JavaSource p0)
Generates the types serializer by adding methods to the given class. |
AttributeSG[] |
getAttributes()
Returns the data types array of attributes. |
Context |
getClassContext()
Returns the datatypes runtime type, which is the binding interface. |
ComplexContentSG |
getComplexContentSG()
If the data type has complex content: Returns an instance of ComplexContentSG. |
ComplexTypeSGChain |
getHeadOfChain()
|
org.xml.sax.Locator |
getLocator()
Returns the types Locator. |
SimpleContentSG |
getSimpleContentSG()
If the data type has simple content: Returns an instance of SimpleContentSG. |
TypeSG |
getTypeSG()
Returns the TypeSG that created this instance. |
JavaSource |
getXMLHandler()
Generates the types XML handler as a standalone class. |
JavaSource |
getXMLHandler(JavaSource p0)
Generates the types XML handler as an inner class of the given. |
JavaSource |
getXMLImplementation()
Generates the types implementation as a standalone class. |
JavaSource |
getXMLImplementation(JavaSource p0)
Generates the types implementation as an inner class of the given. |
JavaSource |
getXMLInterface()
Generates the types interface as a standalone class. |
JavaSource |
getXMLInterface(JavaSource p0)
Generates the types interface as an inner class of the given. |
JavaSource |
getXMLSerializer()
Generates the types XML serializer as a standalone class. |
JavaSource |
getXMLSerializer(JavaSource p0)
Generates the types XML serializer as an inner class of the given. |
boolean |
hasAttributes()
Returns whether the data type has attributes. |
boolean |
hasSimpleContent()
Returns whether the data type has simple content. |
void |
init()
Initializes the instance. |
java.lang.Object |
newAttributeSG(XSAttribute p0)
Creates a new instance of AttributeSGChain
generating the given attribute. |
java.lang.Object |
newAttributeSG(XSWildcard p0)
Creates a new instance of AttributeSGChain
generating the given wildcard attributes. |
java.lang.Object |
newComplexContentTypeSG()
If the complex type has complex content: Creates an instance of ComplexContentSGChain generating the given complex type. |
java.lang.Object |
newSimpleContentTypeSG()
If the complex type has simple content: Creates an instance of SimpleContentSGChain generating the type. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ComplexTypeSGImpl(ComplexTypeSGChain o)
| Method Detail |
public org.xml.sax.Locator getLocator()
ComplexTypeSGReturns the types Locator.
getLocator in interface ComplexTypeSGpublic boolean hasAttributes()
ComplexTypeSGReturns whether the data type has attributes.
hasAttributes in interface ComplexTypeSGpublic TypeSG getTypeSG()
ComplexTypeSGReturns the TypeSG that created this instance.
getTypeSG in interface ComplexTypeSG
public JavaSource getXMLInterface()
throws org.xml.sax.SAXException
ComplexTypeSGGenerates the types interface as a standalone class. This is used for global types.
getXMLInterface in interface ComplexTypeSGorg.xml.sax.SAXException
public JavaSource getXMLInterface(JavaSource p0)
throws org.xml.sax.SAXException
ComplexTypeSGGenerates the types interface as an inner class of the given.
getXMLInterface in interface ComplexTypeSGorg.xml.sax.SAXException
public void generateXMLInterfaceMethods(JavaSource p0)
throws org.xml.sax.SAXException
ComplexTypeSGGenerates the types interface by adding methods to the given class.
generateXMLInterfaceMethods in interface ComplexTypeSGorg.xml.sax.SAXException
public JavaSource getXMLImplementation()
throws org.xml.sax.SAXException
ComplexTypeSGGenerates the types implementation as a standalone class. This is used for global types.
getXMLImplementation in interface ComplexTypeSGorg.xml.sax.SAXException
public JavaSource getXMLImplementation(JavaSource p0)
throws org.xml.sax.SAXException
ComplexTypeSGGenerates the types implementation as an inner class of the given.
getXMLImplementation in interface ComplexTypeSGorg.xml.sax.SAXException
public JavaSource getXMLSerializer()
throws org.xml.sax.SAXException
ComplexTypeSGGenerates the types XML serializer as a standalone class. This is used for global types.
getXMLSerializer in interface ComplexTypeSGorg.xml.sax.SAXException
public JavaSource getXMLSerializer(JavaSource p0)
throws org.xml.sax.SAXException
ComplexTypeSGGenerates the types XML serializer as an inner class of the given. This is used for local types.
getXMLSerializer in interface ComplexTypeSGorg.xml.sax.SAXException
public JavaSource getXMLHandler()
throws org.xml.sax.SAXException
ComplexTypeSGGenerates the types XML handler as a standalone class. This is used for global types.
getXMLHandler in interface ComplexTypeSGorg.xml.sax.SAXException
public JavaSource getXMLHandler(JavaSource p0)
throws org.xml.sax.SAXException
ComplexTypeSGGenerates the types XML handler as an inner class of the given. This is used for local types.
getXMLHandler in interface ComplexTypeSGorg.xml.sax.SAXException
public void generateXMLImplementationMethods(JavaSource p0)
throws org.xml.sax.SAXException
ComplexTypeSGGenerates the types implementation by adding methods to the given class.
generateXMLImplementationMethods in interface ComplexTypeSGorg.xml.sax.SAXException
public void generateXMLSerializerMethods(JavaSource p0)
throws org.xml.sax.SAXException
ComplexTypeSGGenerates the types serializer by adding methods to the given class.
generateXMLSerializerMethods in interface ComplexTypeSGorg.xml.sax.SAXException
public void generateXMLHandlerMethods(JavaSource p0)
throws org.xml.sax.SAXException
ComplexTypeSGGenerates the types handler by adding methods to the given class.
generateXMLHandlerMethods in interface ComplexTypeSGorg.xml.sax.SAXException
public java.lang.Object newAttributeSG(XSAttribute p0)
throws org.xml.sax.SAXException
ComplexTypeSGCreates a new instance of
AttributeSGChain
generating the given attribute.
newAttributeSG in interface ComplexTypeSGorg.xml.sax.SAXException
public java.lang.Object newAttributeSG(XSWildcard p0)
throws org.xml.sax.SAXException
ComplexTypeSGCreates a new instance of
AttributeSGChain
generating the given wildcard attributes.
newAttributeSG in interface ComplexTypeSGorg.xml.sax.SAXException
public void addAttributeSG(AttributeSG p0)
throws org.xml.sax.SAXException
ComplexTypeSGAdds the given AttributeSG to the list of attributes
and invokes the method SGItem.init()
on it.
addAttributeSG in interface ComplexTypeSGorg.xml.sax.SAXExceptionpublic boolean hasSimpleContent()
ComplexTypeSGReturns whether the data type has simple content.
hasSimpleContent in interface ComplexTypeSG
public java.lang.Object newSimpleContentTypeSG()
throws org.xml.sax.SAXException
ComplexTypeSGIf the complex type has simple content: Creates an instance of
SimpleContentSGChain generating the type.
Implementation note: The type
SimpleContentSGChain
must not be exposed in the interface, because the interface
class is used to generate this type. In other words, this
interface must be compilable without the
SimpleContentSGChain
interface.
newSimpleContentTypeSG in interface ComplexTypeSGorg.xml.sax.SAXExceptionpublic SimpleContentSG getSimpleContentSG()
ComplexTypeSGIf the data type has simple content: Returns an instance of
SimpleContentSG. Uses ComplexTypeSG.newSimpleContentTypeSG()
internally.
getSimpleContentSG in interface ComplexTypeSG
public java.lang.Object newComplexContentTypeSG()
throws org.xml.sax.SAXException
ComplexTypeSGIf the complex type has complex content: Creates an instance of
ComplexContentSGChain generating the given complex type.
Implementation note: The type
ComplexContentSGChain
must not be exposed in the interface, because the interface
class is used to generate this type. In other words, this
interface must be compilable without the
ComplexContentSGChain
interface.
newComplexContentTypeSG in interface ComplexTypeSGorg.xml.sax.SAXExceptionpublic ComplexContentSG getComplexContentSG()
ComplexTypeSGIf the data type has complex content: Returns an instance of
ComplexContentSG. Uses ComplexTypeSG.newComplexContentTypeSG()
internally.
getComplexContentSG in interface ComplexTypeSG
public void init()
throws org.xml.sax.SAXException
ComplexTypeSGInitializes the instance.
init in interface ComplexTypeSGorg.xml.sax.SAXExceptionpublic AttributeSG[] getAttributes()
ComplexTypeSGReturns the data types array of attributes.
getAttributes in interface ComplexTypeSGpublic Context getClassContext()
ComplexTypeSGReturns the datatypes runtime type, which is the binding interface.
getClassContext in interface ComplexTypeSGpublic ComplexTypeSGChain getHeadOfChain()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||