sigmlstream.xml
Class XMLUnitDOMBuilder

java.lang.Object
  extended by sigmlstream.xml.XMLUnitDOMBuilder

public class XMLUnitDOMBuilder
extends java.lang.Object

A converter that can generate a DOM document from a suitable sequence of XMLUnitEvents.


Constructor Summary
XMLUnitDOMBuilder()
          Constructs a new builder.
 
Method Summary
 org.w3c.dom.Document buildDocument(java.util.ArrayList<XMLUnitEvent> uevts)
          Builds and returns a new DOM document for the given sequence of XMLUnitEvents, 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 XMLUnitEvents, printing an error message on standard output and returning null in case of failure.