public class CommonXML extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
CommonXML.Position |
| Constructor and Description |
|---|
CommonXML() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addContent(String path,
Document doc,
String toAddContent,
org.gcube.common.resources.gcore.utils.XPathHelper documentHelper,
CommonXML.Position position) |
static Document |
getDocument(File xmlFile) |
static org.gcube.common.resources.gcore.utils.XPathHelper |
getHelper(Node root) |
static void |
writeOut(Document document,
File destination) |
public static Document getDocument(File xmlFile) throws SAXException, IOException
SAXExceptionIOExceptionpublic static org.gcube.common.resources.gcore.utils.XPathHelper getHelper(Node root)
public static void writeOut(Document document, File destination) throws IOException, TransformerException
IOExceptionTransformerExceptionpublic static void addContent(String path, Document doc, String toAddContent, org.gcube.common.resources.gcore.utils.XPathHelper documentHelper, CommonXML.Position position) throws SAXException, IOException
SAXExceptionIOExceptionCopyright © 2017. All Rights Reserved.