code: public void setOriginalXml(final InputStream originalXml) throws JDOMException, IOException {
          SAXBuilder parser = new SAXBuilder();
          originalDocument = parser.build(originalXml);
      }
docs: Sets the original xml that should be sorted. Builds a dom document of the
  xml.
  
  @param originalXml the new original xml
  @throws org.jdom.JDOMException the jDOM exception
  @throws java.io.IOException    Signals that an I/O exception has occurred.