xml

## Interface XmlStreamDocWrapping

-     public interface XmlStreamDocWrapping

  This auxiliary interface defines methods for writing a head and a tail for an XML document. It supports the creation of efficient XML document output wrapper objects such as those provided by the `HSDocWrapping` class.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `writeDocHead()` Writes the document head to the associated stream, to be called immediately before output to the stream of the document element itself.
    `void` | `writeDocTail()` Writes the document tail to the associated stream, to be called immediately after output to the stream of the document element itself.

- - ### Method Detail

    - #### writeDocHead

          void writeDocHead()
                     throws java.io.IOException

      Writes the document head to the associated stream, to be called immediately before output to the stream of the document element itself. Typically, the document head constists of the XML declaration, the document type declaration, and the start tag for the document element.
      Throws:
        `java.io.IOException`

    - #### writeDocTail

          void writeDocTail()
                     throws java.io.IOException

      Writes the document tail to the associated stream, to be called immediately after output to the stream of the document element itself. Typically, the document tail just consists of the end tag for the document element.
      Throws:
        `java.io.IOException`