Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.apache.ws.jaxme.generator.sg.impl.ComplexTypeSGImpl
Constructor Summary | |
Method Summary | |
void |
|
AttributeSG[] |
|
Context |
|
ComplexContentSG |
|
ComplexTypeSGChain | |
Locator |
|
SimpleContentSG |
|
TypeSG | |
JavaSource |
|
JavaSource |
|
JavaSource |
|
JavaSource |
|
JavaSource |
|
JavaSource |
|
JavaSource |
|
JavaSource |
|
boolean |
|
boolean |
|
void |
|
Object |
|
Object |
|
Object |
|
Object |
|
public void addAttributeSG(AttributeSG pAttribute) throws SAXException
Adds the givenAttributeSG
to the list of attributes and invokes the methodSGItem.init()
on it.
- Specified by:
- addAttributeSG in interface ComplexTypeSG
public AttributeSG[] getAttributes()
Returns the data types array of attributes.
- Specified by:
- getAttributes in interface ComplexTypeSG
public Context getClassContext()
Returns the datatypes runtime type, which is the binding interface.
- Specified by:
- getClassContext in interface ComplexTypeSG
public ComplexContentSG getComplexContentSG()
If the data type has complex content: Returns an instance ofComplexContentSG
. UsesComplexTypeSG.newComplexContentTypeSG()
internally.
- Specified by:
- getComplexContentSG in interface ComplexTypeSG
public Locator getLocator()
Returns the typesLocator
.
- Specified by:
- getLocator in interface ComplexTypeSG
public SimpleContentSG getSimpleContentSG()
If the data type has simple content: Returns an instance ofSimpleContentSG
. UsesComplexTypeSG.newSimpleContentTypeSG()
internally.
- Specified by:
- getSimpleContentSG in interface ComplexTypeSG
public TypeSG getTypeSG()
Returns theTypeSG
that created this instance.
- Specified by:
- getTypeSG in interface ComplexTypeSG
public JavaSource getXMLHandler(JavaQName pQName) throws SAXException
Generates the types XML handler as a standalone class. This is used for global types.
- Specified by:
- getXMLHandler in interface ComplexTypeSG
public JavaSource getXMLHandler(JavaSource pSource) throws SAXException
Generates the types XML handler as an inner class of the given. This is used for local types.
- Specified by:
- getXMLHandler in interface ComplexTypeSG
public JavaSource getXMLImplementation() throws SAXException
Generates the types implementation as a standalone class. This is used for global types.
- Specified by:
- getXMLImplementation in interface ComplexTypeSG
public JavaSource getXMLImplementation(JavaSource pSource) throws SAXException
Generates the types implementation as an inner class of the given.
- Specified by:
- getXMLImplementation in interface ComplexTypeSG
public JavaSource getXMLInterface() throws SAXException
Generates the types interface as a standalone class. This is used for global types.
- Specified by:
- getXMLInterface in interface ComplexTypeSG
public JavaSource getXMLInterface(JavaSource pSource) throws SAXException
Generates the types interface as an inner class of the given.
- Specified by:
- getXMLInterface in interface ComplexTypeSG
public JavaSource getXMLSerializer() throws SAXException
Generates the types XML serializer as a standalone class. This is used for global types.
- Specified by:
- getXMLSerializer in interface ComplexTypeSG
public JavaSource getXMLSerializer(JavaSource pSource) throws SAXException
Generates the types XML serializer as an inner class of the given. This is used for local types.
- Specified by:
- getXMLSerializer in interface ComplexTypeSG
public boolean hasAttributes()
Returns whether the data type has attributes.
- Specified by:
- hasAttributes in interface ComplexTypeSG
public boolean hasSimpleContent()
Returns whether the data type has simple content.
- Specified by:
- hasSimpleContent in interface ComplexTypeSG
public void init() throws SAXException
Initializes the instance.
- Specified by:
- init in interface ComplexTypeSG
public Object newAttributeSG(XSAttribute pAttribute) throws SAXException
Creates a new instance ofAttributeSGChain
generating the given attribute.
- Specified by:
- newAttributeSG in interface ComplexTypeSG
public Object newAttributeSG(XSWildcard pWildcard) throws SAXException
Creates a new instance ofAttributeSGChain
generating the given wildcard attributes.
- Specified by:
- newAttributeSG in interface ComplexTypeSG
public Object newComplexContentTypeSG() throws SAXException
If the complex type has complex content: Creates an instance ofComplexContentSGChain
generating the given complex type. Implementation note: The typeComplexContentSGChain
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 theComplexContentSGChain
interface.
- Specified by:
- newComplexContentTypeSG in interface ComplexTypeSG
public Object newSimpleContentTypeSG() throws SAXException
If the complex type has simple content: Creates an instance ofSimpleContentSGChain
generating the type. Implementation note: The typeSimpleContentSGChain
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 theSimpleContentSGChain
interface.
- Specified by:
- newSimpleContentTypeSG in interface ComplexTypeSG