public class DocumentTools extends Object
| Constructor and Description |
|---|
DocumentTools() |
| Modifier and Type | Method and Description |
|---|---|
static String |
DocumentToString(Document doc) |
static void |
ElementToStream(Element element,
OutputStream out) |
static ArrayList<Node> |
getAllNode(Node node) |
static ArrayList<Node> |
GetElementByLocalName(Node node,
String localName) |
static String |
GetMasterParentNodeName(Node node) |
static void |
MergeDocument(Document base,
Document merge) |
static void |
MergeReference(Document doc,
URI docUri) |
static Boolean |
ValidateNewNameSpace(String pre) |
public static ArrayList<Node> GetElementByLocalName(Node node, String localName)
public static void MergeReference(Document doc, URI docUri) throws URISyntaxException, SAXException, IOException
public static void ElementToStream(Element element, OutputStream out)
Copyright © 2020 Open Geospatial Consortium. All rights reserved.