public abstract class BaseXercesJDK5Serializer extends Object implements Serializer
| Constructor and Description |
|---|
BaseXercesJDK5Serializer()
Creates an instance of this class.
|
| Modifier and Type | Method and Description |
|---|---|
DocumentHandler |
asDocumentHandler()
Returns the
DocumentHandler to use for serialization. |
protected abstract String |
getPackageName() |
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. |
public BaseXercesJDK5Serializer()
protected abstract String getPackageName()
public void setOutputCharStream(Writer out)
SerializersetOutputCharStream in interface Serializerout - the OutputCharStream to use.{@inheritDoc}public DocumentHandler asDocumentHandler() throws IOException
SerializerDocumentHandler to use for serialization.asDocumentHandler in interface SerializerIOException{@inheritDoc}public void setOutputFormat(OutputFormat format)
SerializerOutputFormat to use during serialization.setOutputFormat in interface Serializerformat - The output format to use.#setOutputFormat(org.exolab.castor.xml.OutputFormat)
{@inheritDoc}public void setOutputByteStream(OutputStream output)
SerializerOutputStream to use.setOutputByteStream in interface Serializeroutput - the OutputStream to use{@inheritDoc}Copyright © 2016. All rights reserved.