sigmlstream.xml

## Class XMLUnitDOMBuilder

- java.lang.Object
- - sigmlstream.xml.XMLUnitDOMBuilder

-     public class XMLUnitDOMBuilder
      extends java.lang.Object

  A converter that can generate a DOM document from a suitable sequence of `XMLUnitEvent`s.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `XMLUnitDOMBuilder()` Constructs a new builder.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `org.w3c.dom.Document` | `buildDocument(java.util.ArrayList<XMLUnitEvent> uevts)` Builds and returns a new DOM document for the given sequence of `XMLUnitEvent`s, printing an error message on standard output and returning `null` in case of failure.

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### XMLUnitDOMBuilder

          public XMLUnitDOMBuilder()
                            throws javax.xml.transform.TransformerException

      Constructs a new builder.
      Throws:
        `javax.xml.transform.TransformerException`

  - ### Method Detail

    - #### buildDocument

          public org.w3c.dom.Document buildDocument(java.util.ArrayList<XMLUnitEvent> uevts)

      Builds and returns a new DOM document for the given sequence of `XMLUnitEvent`s, printing an error message on standard output and returning `null` in case of failure.