Serializer
public class XercesSerializer extends java.lang.Object implements Serializer
Constructor | Description |
---|---|
XercesSerializer() |
Creates an instance of this class.
|
Modifier and Type | Method | Description |
---|---|---|
org.xml.sax.DocumentHandler |
asDocumentHandler() |
Returns the
DocumentHandler to use for serialization. |
void |
setOutputByteStream(java.io.OutputStream output) |
Sets the
OutputStream to use. |
void |
setOutputCharStream(java.io.Writer out) |
Sets the OutputCharStream to use.
|
void |
setOutputFormat(OutputFormat format) |
Sets the
OutputFormat to use during serialization. |
public void setOutputCharStream(java.io.Writer out)
Serializer
setOutputCharStream
in interface Serializer
out
- the OutputCharStream to use.Serializer.setOutputCharStream(java.io.Writer)
public org.xml.sax.DocumentHandler asDocumentHandler() throws java.io.IOException
Serializer
DocumentHandler
to use for serialization.asDocumentHandler
in interface Serializer
java.io.IOException
Serializer.asDocumentHandler()
public void setOutputFormat(OutputFormat format)
Serializer
OutputFormat
to use during serialization.setOutputFormat
in interface Serializer
format
- The output format to use.#setOutputFormat(org.exolab.castor.xml.OutputFormat)
public void setOutputByteStream(java.io.OutputStream output)
Serializer
OutputStream
to use.setOutputByteStream
in interface Serializer
output
- the OutputStream to useSerializer.setOutputByteStream(java.io.OutputStream)
Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com