Class 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 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.