Interface DOMSerializer

    • Method Detail

      • serialize

        void serialize​(Element elem)
                throws IOException
        Deprecated.
        Serialized the DOM element. Throws an exception only if an I/O exception occured while serializing.
        Parameters:
        elem - The element to serialize
        Throws:
        IOException - An I/O exception occured while serializing
      • serialize

        void serialize​(Document doc)
                throws IOException
        Deprecated.
        Serializes the DOM document. Throws an exception only if an I/O exception occured while serializing.
        Parameters:
        doc - The document to serialize
        Throws:
        IOException - An I/O exception occured while serializing
      • serialize

        void serialize​(DocumentFragment frag)
                throws IOException
        Deprecated.
        Serializes the DOM document fragment. Throws an exception only if an I/O exception occured while serializing.
        Parameters:
        frag - The document fragment to serialize
        Throws:
        IOException - An I/O exception occured while serializing