Converter to XML (using JDOM).
More...
List of all members.
Public Member Functions |
| XMLWriter () |
| Constructor setting the operation parameters.
|
Protected Member Functions |
Map< String, Object > | executeConcreteOperation (Map< String, Object > theInputParameters) |
| Writes an element.
|
Private Member Functions |
Element | getMeta () |
| Create meta data element.
|
Element | toXML (IAXLangElement theElement, ReferenceKind theKind, Role theRole) |
| Returns XML representation of aXLang element.
|
Static Private Attributes |
static final String | ID_IN_ELEMENT = "axlin" |
| identifier of the input element
|
static final String | ID_IN_FILENAME = "xmlfileout" |
| identifier of the output filename
|
Detailed Description
Converter to XML (using JDOM).
- Author:
- ekleinod
- Version:
- 0.9.0
- Since:
- 0.3
Constructor & Destructor Documentation
de.fraunhofer.isst.axbench.operations.XMLWriter.XMLWriter |
( |
|
) |
|
Constructor setting the operation parameters.
Member Function Documentation
Map<String, Object> de.fraunhofer.isst.axbench.operations.XMLWriter.executeConcreteOperation |
( |
Map< String, Object > |
theInputParameters |
) |
[protected] |
Writes an element.
- Todo:
- Include setting of DTD or XML schema.
- Parameters:
-
| theInputParameters | map of the input parameters (empty map allowed) |
- Returns:
- map of the output parameters (empty map allowed)
Element de.fraunhofer.isst.axbench.operations.XMLWriter.getMeta |
( |
|
) |
[private] |
Create meta data element.
- Returns:
- meta data element
Element de.fraunhofer.isst.axbench.operations.XMLWriter.toXML |
( |
IAXLangElement |
theElement, |
|
|
ReferenceKind |
theKind, |
|
|
Role |
theRole | |
|
) |
| | [private] |
Returns XML representation of aXLang element.
- create element tag
- process attributes
- process children
- process references
- Parameters:
-
| theElement | aXLang element |
| theKind | kind of the aXLang element |
| theRole | role of the aXLang element |
- Returns:
- XML (JDOM) element
Member Data Documentation
identifier of the input element
identifier of the output filename