Package org.exolab.castor.xml
Class BaseXercesJDK5Serializer
java.lang.Object
org.exolab.castor.xml.BaseXercesJDK5Serializer
- All Implemented Interfaces:
Serializer
- Direct Known Subclasses:
AIXXercesJDK5Serializer
,XercesJDK5Serializer
Xerces-specific implementation of the Serializer interface, used for JDK 5
only where Xerecs has been integrated with the core code base.
- Since:
- 1.1
- Version:
- $Revision: 6216 $ $Date: 2006-04-25 16:09:10 -0600 (Tue, 25 Apr 2006) $
- Author:
- Werner Guttmann
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns theDocumentHandler
to use for serialization.protected abstract String
void
setOutputByteStream
(OutputStream output) Sets theOutputStream
to use.void
Sets the OutputCharStream to use.void
setOutputFormat
(OutputFormat format) Sets theOutputFormat
to use during serialization.
-
Constructor Details
-
BaseXercesJDK5Serializer
public BaseXercesJDK5Serializer()Creates an instance of this class.
-
-
Method Details
-
getPackageName
-
setOutputCharStream
Description copied from interface:Serializer
Sets the OutputCharStream to use.- Specified by:
setOutputCharStream
in interfaceSerializer
- Parameters:
out
- the OutputCharStream to use.- See Also:
-
asDocumentHandler
Description copied from interface:Serializer
Returns theDocumentHandler
to use for serialization.- Specified by:
asDocumentHandler
in interfaceSerializer
- Returns:
- the DocumentHandler to use for serialization.
- Throws:
IOException
- See Also:
-
setOutputFormat
Description copied from interface:Serializer
Sets theOutputFormat
to use during serialization.- Specified by:
setOutputFormat
in interfaceSerializer
- Parameters:
format
- The output format to use.- See Also:
-
setOutputByteStream
Description copied from interface:Serializer
Sets theOutputStream
to use.- Specified by:
setOutputByteStream
in interfaceSerializer
- Parameters:
output
- the OutputStream to use- See Also:
-