Package org.exolab.castor.xml.wls8
Class WeblogicXercesSerializer
java.lang.Object
org.exolab.castor.xml.wls8.WeblogicXercesImplementation
org.exolab.castor.xml.wls8.WeblogicXercesSerializer
- All Implemented Interfaces:
Serializer
Xerces-specific implementation of the Serializer interface. Uses reflection to get the class and
methods to avoid having dependencies towards Weblogic when Castor is not used in a Weblogic
server.
- Author:
- Thierry Guerin
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.void
setOutputByteStream
(OutputStream output) Sets theOutputStream
to use.void
Sets the OutputCharStream to use.void
setOutputFormat
(OutputFormat format) Sets theOutputFormat
to use during serialization.Methods inherited from class org.exolab.castor.xml.wls8.WeblogicXercesImplementation
getMethod, handleMethodInvokeException, handleMethodInvokeException, handleStaticInitException, handleStaticInitException, invoke
-
Constructor Details
-
WeblogicXercesSerializer
public WeblogicXercesSerializer()Creates an instance of this class.
-
-
Method Details
-
asDocumentHandler
Deprecated.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
-
setOutputByteStream
Description copied from interface:Serializer
Sets theOutputStream
to use.- Specified by:
setOutputByteStream
in interfaceSerializer
- Parameters:
output
- the OutputStream to use
-
setOutputCharStream
Description copied from interface:Serializer
Sets the OutputCharStream to use.- Specified by:
setOutputCharStream
in interfaceSerializer
- Parameters:
out
- the OutputCharStream to use.
-
setOutputFormat
Description copied from interface:Serializer
Sets theOutputFormat
to use during serialization.- Specified by:
setOutputFormat
in interfaceSerializer
- Parameters:
format
- The output format to use.
-