public interface Serializer
| Modifier and Type | Method and Description |
|---|---|
DocumentHandler |
asDocumentHandler()
Returns the
DocumentHandler to use for serialization. |
void |
setOutputByteStream(OutputStream output)
Sets the
OutputStream to use. |
void |
setOutputCharStream(Writer out)
Sets the OutputCharStream to use.
|
void |
setOutputFormat(OutputFormat format)
Sets the
OutputFormat to use during serialization. |
void setOutputCharStream(Writer out)
out - the OutputCharStream to use.DocumentHandler asDocumentHandler() throws IOException
DocumentHandler to use for serialization.IOExceptionvoid setOutputFormat(OutputFormat format)
OutputFormat to use during serialization.format - The output format to use.void setOutputByteStream(OutputStream output)
OutputStream to use.output - the OutputStream to useCopyright © 2016. All rights reserved.