JGraph X 1.9.2.5


com.mxgraph.util
Class mxXmlUtils

java.lang.Object
  extended by com.mxgraph.util.mxXmlUtils

public class mxXmlUtils
extends java.lang.Object

Contains various XML helper methods for use with mxGraph.


Constructor Summary
mxXmlUtils()
           
 
Method Summary
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

mxXmlUtils

public mxXmlUtils()
Method Detail

parseXml

public static org.w3c.dom.Document parseXml(java.lang.String xml)
Returns a new document for the given XML string.

Parameters:
xml - String that represents the XML data.
Returns:
Returns a new XML document.

getXml

public static java.lang.String getXml(org.w3c.dom.Node node)
Returns a string that represents the given node.

Parameters:
node - Node to return the XML for.
Returns:
Returns an XML string.

JGraph X 1.9.2.5


Copyright (c) 2010 Gaudenz Alder. All rights reserved.