org.exolab.castor.xml
public interface Serializer
Method Summary | |
---|---|
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. |
Returns: the DocumentHandler to use for serialization.
Throws: IOException
Parameters: output the OutputStream to use
Parameters: out the OutputCharStream to use.
Parameters: format The output format to use.