Package de.xima.fc.transform.xml
Class FdToXmlResult
java.lang.Object
de.xima.fc.transform.xml.FdToXmlResult
- All Implemented Interfaces:
IFdTransformResult
,AutoCloseable
The result of an transformation of formdata to XML
- Author:
- XIMA MEDIA GmbH
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
void
writeToFile
(File outputFile) Method to write the transformation result to an fileMethod to return the transformation result as anByteArrayOutputStream
-
Method Details
-
writeToStream
Description copied from interface:IFdTransformResult
Method to return the transformation result as anByteArrayOutputStream
- Specified by:
writeToStream
in interfaceIFdTransformResult
- Returns:
ByteArrayOutputStream
of the result
-
writeToFile
Description copied from interface:IFdTransformResult
Method to write the transformation result to an file- Specified by:
writeToFile
in interfaceIFdTransformResult
- Parameters:
outputFile
- the file to write the result to- Throws:
IOException
-
getRootFdXml
- Returns:
- the
RootFdXml
which will be exported
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
-