Package com.mxgraph.util
Class mxXmlUtils
java.lang.Object
com.mxgraph.util.mxXmlUtils
Contains various XML helper methods for use with mxGraph.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DocumentBuilder
static String
Returns a string that represents the given node.static Document
Returns a new document for the given XML string.
-
Constructor Details
-
mxXmlUtils
public mxXmlUtils()
-
-
Method Details
-
getDocumentBuilder
-
parseXml
Returns a new document for the given XML string. External entities and DTDs are ignored.- Parameters:
xml
- String that represents the XML data.- Returns:
- Returns a new XML document.
-
getXml
Returns a string that represents the given node.- Parameters:
node
- Node to return the XML for.- Returns:
- Returns an XML string.
-