Code example for DOMResult

Methods: getNode

0
			throw new SchematronTestException(ioe);
		} 
 
		DOMResult finalResult = SchematronUtils.getEmptyDOMResult();
		try { 
			transformer2.transform(documentToTestSource, finalResult);
			this.result = (Document) finalResult.getNode();
		} 
		catch (TransformerException te) {
			throw new SchematronTestException(te);
		} 
	} 
 
	public Document getResult() {
		return result;
	} 
 
}