Interface Serializer

    • Method Detail

      • setOutputByteStream

        void setOutputByteStream​(OutputStream output)
        Deprecated.
        Specifies an output stream to which the document should be serialized. This method should not be called while the serializer is in the process of serializing a document.
      • setOutputCharStream

        void setOutputCharStream​(Writer output)
        Deprecated.
        Specifies a writer to which the document should be serialized. This method should not be called while the serializer is in the process of serializing a document.
      • setOutputFormat

        void setOutputFormat​(OutputFormat format)
        Deprecated.
        Specifies an output format for this serializer. It the serializer has already been associated with an output format, it will switch to the new format. This method should not be called while the serializer is in the process of serializing a document.
        Parameters:
        format - The output format to use