public final class DOMHelper extends Object
Modifier and Type | Method and Description |
---|---|
static Document |
buildDocument(ByteArrayOutputStream output)
This method gets an output stream from the streaming output and converts
it to a Document type to perform test cases.
|
public static Document buildDocument(ByteArrayOutputStream output) throws ParserConfigurationException, SAXException, IOException
output
- The output stream that has to be packed into the document.ParserConfigurationException
- The error occurred.SAXException
- XML parsing exception.IOException
- An exception occurred.Copyright © 2013. All Rights Reserved.