public final class XMLUtil extends Object
Modifier and Type | Method and Description |
---|---|
static void |
assertEquivalent(Node node,
Node node2) |
static String |
elementToString(Node n) |
static String |
getTextContent(Node n)
This metod is here because Node.getTextContent() is not available in JDK 1.4 and I would like
to have an uniform access to this functionality.
|
static boolean |
parseBoolean(Node elem) |
static double |
parseDouble(Node elem) |
static int |
parseInt(Node elem) |
static long |
parseLong(Node elem) |
static Element |
readerToElement(Reader r) |
static String |
readerToString(Reader r) |
static String |
replaceSystemProps(String xml) |
static Element |
stringToElement(String s) |
static String |
stripCDATA(String s) |
static Element |
urlToElement(URL url) |
static void |
validate(Node node,
String schemaFile) |
public static String getTextContent(Node n)
public static long parseLong(Node elem)
public static int parseInt(Node elem)
public static boolean parseBoolean(Node elem)
public static double parseDouble(Node elem)
Copyright © 2018 JBoss by Red Hat. All rights reserved.