Package org.smooks.io.payload
Class ByteResult
- java.lang.Object
-
- javax.xml.transform.stream.StreamResult
-
- org.smooks.io.payload.ByteResult
-
- All Implemented Interfaces:
Result
public class ByteResult extends StreamResult
Utility class for creating a Byte basedStreamResult
.- Author:
- tom.fennelly@gmail.com
-
-
Field Summary
-
Fields inherited from class javax.xml.transform.stream.StreamResult
FEATURE
-
Fields inherited from interface javax.xml.transform.Result
PI_DISABLE_OUTPUT_ESCAPING, PI_ENABLE_OUTPUT_ESCAPING
-
-
Constructor Summary
Constructors Constructor Description ByteResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
getResult()
void
setOutputStream(OutputStream outputStream)
String
toString()
-
Methods inherited from class javax.xml.transform.stream.StreamResult
getOutputStream, getSystemId, getWriter, setSystemId, setSystemId, setWriter
-
-
-
-
Method Detail
-
setOutputStream
public final void setOutputStream(OutputStream outputStream)
- Overrides:
setOutputStream
in classStreamResult
-
getResult
public byte[] getResult()
-
-