public static Document newDocument(InputStream xmlStream) throws SAXException, IOException, ParserConfigurationException {
        return XmlUtils.newDocument(xmlStream, true);
    }
public static Document newDocument(InputStream xmlStream) throws SAXException, IOException, ParserConfigurationException {
        return XmlUtils.newDocument(xmlStream, true);
    }
public static Document newDocument ( InputStream xmlStream ) throws SAXException , IOException , ParserConfigurationException { return XmlUtils . newDocument ( xmlStream , true ) ; }
Create a {@link Document} from an {@link InputStream}.

@param xmlStream the XML input, the document is created from
@return created document
@throws SAXException                 if XML contains an error
@throws IOException                  if XML is not readable
@throws ParserConfigurationException if the parser is not properly configured
Create a { @link Document } from an { @link InputStream } .