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.DocumentHandlerasDocumentHandler()Deprecated.voidsetOutputByteStream(java.io.OutputStream output)Sets theOutputStreamto use.voidsetOutputCharStream(java.io.Writer out)Sets the OutputCharStream to use.voidsetOutputFormat(OutputFormat format)Sets theOutputFormatto 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.IOExceptionDeprecated.Description copied from interface:SerializerReturns theDocumentHandlerto use for serialization.- Specified by:
asDocumentHandlerin interfaceSerializer- Returns:
- the DocumentHandler to use for serialization.
- Throws:
java.io.IOException
-
setOutputByteStream
public void setOutputByteStream(java.io.OutputStream output)
Description copied from interface:SerializerSets theOutputStreamto use.- Specified by:
setOutputByteStreamin interfaceSerializer- Parameters:
output- the OutputStream to use
-
setOutputCharStream
public void setOutputCharStream(java.io.Writer out)
Description copied from interface:SerializerSets the OutputCharStream to use.- Specified by:
setOutputCharStreamin interfaceSerializer- Parameters:
out- the OutputCharStream to use.
-
setOutputFormat
public void setOutputFormat(OutputFormat format)
Description copied from interface:SerializerSets theOutputFormatto use during serialization.- Specified by:
setOutputFormatin interfaceSerializer- Parameters:
format- The output format to use.
-
-