org.exolab.castor.xml.wls8
Class WeblogicXercesSerializer

java.lang.Object
  extended by org.exolab.castor.xml.wls8.WeblogicXercesImplementation
      extended by 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
WeblogicXercesSerializer()
          Creates an instance of this class.
 
Method Summary
 org.xml.sax.DocumentHandler asDocumentHandler()
          Deprecated.  
 void setOutputByteStream(java.io.OutputStream output)
          Sets the OutputStream to use.
 void setOutputCharStream(java.io.Writer out)
          Sets the OutputCharStream to use.
 void setOutputFormat(OutputFormat format)
          Sets the OutputFormat to use during serialization.
 
Methods inherited from class org.exolab.castor.xml.wls8.WeblogicXercesImplementation
getMethod, handleMethodInvokeException, handleMethodInvokeException, handleStaticInitException, handleStaticInitException, invoke
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WeblogicXercesSerializer

public WeblogicXercesSerializer()
Creates an instance of this class.

Method Detail

asDocumentHandler

public org.xml.sax.DocumentHandler asDocumentHandler()
                                              throws java.io.IOException
Deprecated. 

Description copied from interface: Serializer
Returns the DocumentHandler to use for serialization.

Specified by:
asDocumentHandler in interface Serializer
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 the OutputStream to use.

Specified by:
setOutputByteStream in interface Serializer
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 interface Serializer
Parameters:
out - the OutputCharStream to use.

setOutputFormat

public void setOutputFormat(OutputFormat format)
Description copied from interface: Serializer
Sets the OutputFormat to use during serialization.

Specified by:
setOutputFormat in interface Serializer
Parameters:
format - The output format to use.


Intalio Inc. (C) 1999-2007. All rights reserved http://www.intalio.com