question: parse the content of the given inputstream as an xml document and return a new dom document object.an illegalargumentexception is thrown if the inputstream is null . concode_field_sep PlaceHolder placeHolder concode_field_sep DOMImplementation getDOMImplementation concode_elem_sep void setEntityResolver concode_elem_sep boolean isNamespaceAware concode_elem_sep void setErrorHandler concode_elem_sep void reset concode_elem_sep Document newDocument concode_elem_sep boolean isXIncludeAware concode_elem_sep boolean isValidating concode_elem_sep Schema getSchema
target: Document function ( InputStream arg0 , String arg1 ) { if ( arg0 == null ) { throw new IllegalArgumentException ( "srini_string" ) ; } InputSource loc0 = new InputSource ( arg0 ) ; loc0 . setSystemId ( arg1 ) ; return parse ( loc0 ) ; }