src/main/java/com/mxgraph/util/mxUtils.java
public static Document loadDocument(String uri)
	{
		try
		{
			return mxXmlUtils.getDocumentBuilder().parse(uri);
		}
		catch (Exception e)
		{
			log.log(Level.SEVERE, "Failed to load the document from " + uri, e);
		}
		
		return null;
	}
/**
	 * Returns a new DOM document for the given URI. External entities and DTDs are ignored.
	 * 
	 * @param uri
	 *            URI to parse into the document.
	 * @return Returns a new DOM document for the given URI.
	 */
Returns a new DOM document for the given URI. External entities and DTDs are ignored.

@param uri
URI to parse into the document.
@return Returns a new DOM document for the given URI.
Returns a new DOM document for the given URI . External entities and DTDs are ignored . @param uri URI to parse into the document . @return Returns a new DOM document for the given URI .
public static Document loadDocument(String uri)
	{
		try
		{
			return mxXmlUtils.getDocumentBuilder().parse(uri);
		}
		catch (Exception e)
		{
			log.log(Level.SEVERE, "Failed to load the document from " + uri, e);
		}
		return null;
	}
public static Document loadDocument ( String uri ) { try { return mxXmlUtils . getDocumentBuilder ( ) . parse ( uri ) ; } catch ( Exception e ) { log . log ( Level . SEVERE , "Failed to load the document from " + uri , e ) ; } return null ; }
Returns a new DOM document for the given URI.
Returns a new DOM document for the given URI .