public abstract class BaseXercesJDK5Serializer extends java.lang.Object implements Serializer
Constructor and Description |
---|
BaseXercesJDK5Serializer()
Creates an instance of this class.
|
Modifier and Type | Method and Description |
---|---|
org.xml.sax.DocumentHandler |
asDocumentHandler()
Returns the
DocumentHandler to use for serialization. |
protected abstract java.lang.String |
getPackageName() |
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 BaseXercesJDK5Serializer()
protected abstract java.lang.String getPackageName()
public void setOutputCharStream(java.io.Writer out)
Serializer
setOutputCharStream
in interface Serializer
out
- the OutputCharStream to use.{@inheritDoc}
public org.xml.sax.DocumentHandler asDocumentHandler() throws java.io.IOException
Serializer
DocumentHandler
to use for serialization.asDocumentHandler
in interface Serializer
java.io.IOException
{@inheritDoc}
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) {@inheritDoc}
public void setOutputByteStream(java.io.OutputStream output)
Serializer
OutputStream
to use.setOutputByteStream
in interface Serializer
output
- the OutputStream to use{@inheritDoc}
Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com