mxXmlUtils (JGraph X 2.1.0.7 API Specification)
Date: 2013-07-31

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| JGraph X 2.1.0.7
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.mxgraph.util
Class mxXmlUtils

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

    public class mxXmlUtils

extends Object

Contains various XML helper methods for use with mxGraph.

Constructor Summary
`mxXmlUtils()`

Method Summary
`static String` | `getXml(Node node)` Returns a string that represents the given node.
`static Document` | `parseXml(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 Document parseXml(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 String getXml(Node node)

  Returns a string that represents the given node.

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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| JGraph X 2.1.0.7
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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