public void setOriginalXml ( final InputStream originalXml ) throws JDOMException , IOException { SAXBuilder parser = new SAXBuilder ( ) ; originalDocument = parser . build ( originalXml ) ; }
Sets the original xml that should be sorted . Builds a dom document of the xml .