|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.exolab.castor.xml.XercesSerializer
public class XercesSerializer
Xerces-specific implementation of the Serializer interface.
Constructor Summary | |
---|---|
XercesSerializer()
Creates an instance of this class. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XercesSerializer()
Method Detail |
---|
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}
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |