public class XmlManipulator
extends java.lang.Object
| Constructor and Description |
|---|
XmlManipulator() |
| Modifier and Type | Method and Description |
|---|---|
static void |
sortRegions(java.lang.String xmlFilePath,
java.lang.String sortedXmlFilePath)
Given an xml file path, put the region tags in sort order.
|
static void |
writeXml(org.w3c.dom.Document doc,
java.lang.String xmlFilePath)
Given an xml document, write it to the given file path.
|
public static void writeXml(org.w3c.dom.Document doc,
java.lang.String xmlFilePath)
doc - The xml document to write to a file.xmlfilePath - The file to write the xml document to.public static void sortRegions(java.lang.String xmlFilePath,
java.lang.String sortedXmlFilePath)
xmlFilePath - The path to the xml file.sortedXmlFilePath - The path to the sorted xml file to be created.Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.