public class mxXmlUtils
extends java.lang.Object
Constructor | Description |
---|---|
mxXmlUtils() |
Modifier and Type | Method | Description |
---|---|---|
static javax.xml.parsers.DocumentBuilder |
getDocumentBuilder() |
|
static java.lang.String |
getXml(org.w3c.dom.Node node) |
Returns a string that represents the given node.
|
static org.w3c.dom.Document |
parseXml(java.lang.String xml) |
Returns a new document for the given XML string.
|
public static javax.xml.parsers.DocumentBuilder getDocumentBuilder()
public static org.w3c.dom.Document parseXml(java.lang.String xml)
xml
- String that represents the XML data.public static java.lang.String getXml(org.w3c.dom.Node node)
node
- Node to return the XML for.Copyright (c) 2010-2017 Gaudenz Alder, JGraph Ltd. All rights reserved.