API to obtain DOM Document instances from an XML document
Returns the underlying org.w3c.dom.DOMImplementation.
DOMImplementation getDOMImplementation()
Returns a new empty Document
Document newDocument()
Sets the entity-resolver to be used by the underlying implementation.
setEntityResolver( EntityResolver er)
Sets the error-handler to be used by the underlying implementation.
setErrorHandler( ErrorHandler er)
Creates a DOM Document for the contents indentified by the first parameter (optionally specifying a systemId)).
Document parse( File f)
Document parse( InputSource is)
Document parse( InputStream is)
Document parse( InputStream is, String systemId)
Document parse( String uri)