Package org.exolab.castor.xml
Class XercesSerializer
java.lang.Object
org.exolab.castor.xml.XercesSerializer
- All Implemented Interfaces:
Serializer
Xerces-specific implementation of the Serializer interface.
- Version:
- $Revision: 7951 $ $Date: 2006-04-25 16:09:10 -0600 (Tue, 25 Apr 2006) $
- Author:
- Werner Guttmann
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns theDocumentHandlerto use for serialization.voidsetOutputByteStream(OutputStream output) Sets theOutputStreamto use.voidSets the OutputCharStream to use.voidsetOutputFormat(OutputFormat format) Sets theOutputFormatto use during serialization.
-
Constructor Details
-
XercesSerializer
public XercesSerializer()Creates an instance of this class.
-
-
Method Details
-
setOutputCharStream
Description copied from interface:SerializerSets the OutputCharStream to use.- Specified by:
setOutputCharStreamin interfaceSerializer- Parameters:
out- the OutputCharStream to use.- See Also:
-
asDocumentHandler
Description copied from interface:SerializerReturns theDocumentHandlerto use for serialization.- Specified by:
asDocumentHandlerin interfaceSerializer- Returns:
- the DocumentHandler to use for serialization.
- Throws:
IOException- See Also:
-
setOutputFormat
Description copied from interface:SerializerSets theOutputFormatto use during serialization.- Specified by:
setOutputFormatin interfaceSerializer- Parameters:
format- The output format to use.- See Also:
-
setOutputByteStream
Description copied from interface:SerializerSets theOutputStreamto use.- Specified by:
setOutputByteStreamin interfaceSerializer- Parameters:
output- the OutputStream to use- See Also:
-