Skip to end of metadata
Go to start of metadata

Author

Xavier Llora

Creation date

01/07/2011

Firing policy

all

Package

org.seasr.meandre.components.tools.xml.io

DESCRIPTION

This component write a XML in a file by generating it text form. The XML document to convert is received in its input as well as the targeted file. The component outputs the original document. A property allows to control the behaviour of the component in front of an IO error, allowing to continue pushing and empty model or throwing and exception forcing the finalization of the flow execution.

INPUTS

Name

Description

Example

xml
The XML document
TYPE: org.w3c.dom.Document
TYPE: java.lang.String
TYPE: org.seasr.datatypes.BasicDataTypes.Strings

 

location
The URL or file name containing the model to write
TYPE: java.net.URI
TYPE: java.net.URL
TYPE: java.lang.String
TYPE: org.seasr.datatypes.BasicDataTypes.Strings

 

OUTPUTS

Name

Description

Example

xml
The XML document
TYPE: org.w3c.dom.Document

 

location
The URL or file name containing the written XML
TYPE: org.seasr.datatypes.BasicDataTypes.Strings

 

error
This port is used to output any unhandled errors encountered during the execution of this component

 

PROPERTIES

Name

Description

Default value

ignore_errors
Set to 'true' to ignore all unhandled exceptions and prevent the flow from being terminated. Setting this property to 'false' will result in the flow being terminated in the event an unhandled exception is thrown during the execution of this component
false
encoding
The encoding to use on the outputed text.
UTF-8
debug_level
Controls the verbosity of debug messages printed by the component during execution.
Possible values are: off, severe, warning, info, config, fine, finer, finest, all
Append ',mirror' to any of the values above to mirror that output to the server logs.
info
Write a comment…