public class XmlManipulator extends Object
| Constructor and Description |
|---|
XmlManipulator() |
| Modifier and Type | Method and Description |
|---|---|
static void |
sortRegions(String xmlFilePath,
String sortedXmlFilePath)
Given an xml file path, put the region tags in sort order.
|
static void |
writeXml(Document doc,
String xmlFilePath)
Given an xml document, write it to the given file path.
|
public static void writeXml(Document doc, String xmlFilePath)
doc - The xml document to write to a file.xmlfilePath - The file to write the xml document to.public static void sortRegions(String xmlFilePath, 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.