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
public class WeblogicXercesSerializer extends WeblogicXercesImplementation implements 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 Constructor Description WeblogicXercesSerializer()
Creates an instance of this class.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description org.xml.sax.DocumentHandler
asDocumentHandler()
Deprecated.void
setOutputByteStream(java.io.OutputStream output)
Sets theOutputStream
to use.void
setOutputCharStream(java.io.Writer out)
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
-
-
-
-
Method Detail
-
asDocumentHandler
public org.xml.sax.DocumentHandler asDocumentHandler() throws java.io.IOException
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:
java.io.IOException
-
setOutputByteStream
public void setOutputByteStream(java.io.OutputStream output)
Description copied from interface:Serializer
Sets theOutputStream
to use.- Specified by:
setOutputByteStream
in interfaceSerializer
- Parameters:
output
- the OutputStream to use
-
setOutputCharStream
public void setOutputCharStream(java.io.Writer out)
Description copied from interface:Serializer
Sets the OutputCharStream to use.- Specified by:
setOutputCharStream
in interfaceSerializer
- Parameters:
out
- the OutputCharStream to use.
-
setOutputFormat
public void setOutputFormat(OutputFormat format)
Description copied from interface:Serializer
Sets theOutputFormat
to use during serialization.- Specified by:
setOutputFormat
in interfaceSerializer
- Parameters:
format
- The output format to use.
-
-