public class XmlUtils extends Object
Constructor and Description |
---|
XmlUtils() |
Modifier and Type | Method and Description |
---|---|
static String |
extractStringFromXPath(Document document,
String xPath,
Map<String,String> namespaceMap) |
static List<String> |
extractStringListFromXPath(Document document,
String xPath,
Map<String,String> namespaceMap) |
static String |
nodeToString(Node node,
boolean omitXmlDeclaration,
boolean prettyPrint) |
static String |
prettyPrint(String xmlString,
int indent,
boolean ignoreDeclaration) |
static Document |
readFromString(String xml) |
public static String prettyPrint(String xmlString, int indent, boolean ignoreDeclaration)
public static String nodeToString(Node node, boolean omitXmlDeclaration, boolean prettyPrint)
public static List<String> extractStringListFromXPath(Document document, String xPath, Map<String,String> namespaceMap)
Copyright © 2020–2025 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.