| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectorg.apache.ws.jaxme.generator.sg.impl.ComplexTypeSGImplConstructor 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 givenAttributeSGto 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 theTypeSGthat 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 SAXExceptionInitializes the instance.
- Specified by:
- init in interface ComplexTypeSG
public Object newAttributeSG(XSAttribute pAttribute) throws SAXException
Creates a new instance ofAttributeSGChaingenerating the given attribute.
- Specified by:
- newAttributeSG in interface ComplexTypeSG
public Object newAttributeSG(XSWildcard pWildcard) throws SAXException
Creates a new instance ofAttributeSGChaingenerating the given wildcard attributes.
- Specified by:
- newAttributeSG in interface ComplexTypeSG
public Object newComplexContentTypeSG()
throws SAXExceptionIf the complex type has complex content: Creates an instance ofComplexContentSGChaingenerating the given complex type. Implementation note: The typeComplexContentSGChainmust 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 theComplexContentSGChaininterface.
- Specified by:
- newComplexContentTypeSG in interface ComplexTypeSG
public Object newSimpleContentTypeSG()
throws SAXExceptionIf the complex type has simple content: Creates an instance ofSimpleContentSGChaingenerating the type. Implementation note: The typeSimpleContentSGChainmust 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 theSimpleContentSGChaininterface.
- Specified by:
- newSimpleContentTypeSG in interface ComplexTypeSG