Package de.xima.fc.transform.xml
Class FdToXmlResult
- java.lang.Object
-
- de.xima.fc.transform.xml.FdToXmlResult
-
- All Implemented Interfaces:
IFdTransformResult
,AutoCloseable
public class FdToXmlResult extends Object implements IFdTransformResult, AutoCloseable
The result of an transformation of formdata to XML- Author:
- XIMA MEDIA GmbH
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
RootFdXml
getRootFdXml()
void
writeToFile(File outputFile)
Method to write the transformation result to an fileByteArrayOutputStream
writeToStream()
Method to return the transformation result as anByteArrayOutputStream
-
-
-
Method Detail
-
writeToStream
public ByteArrayOutputStream 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
public void writeToFile(File outputFile) throws IOException
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
-
close
public void close()
- Specified by:
close
in interfaceAutoCloseable
-
-