public class XMLUtil extends Object
| Constructor and Description |
|---|
XMLUtil() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getOptionalTextValue(Element e,
String tagName) |
static List<String> |
getOptionalTextValues(Element e,
String tagName) |
static String |
getRequiredTextValue(Element e,
String tagName) |
static void |
writeDocument(Document doc,
OutputStream out) |
static void |
writeElement(Element e,
OutputStream out) |
public static void writeDocument(Document doc, OutputStream out) throws IOException
IOExceptionpublic static void writeElement(Element e, OutputStream out) throws IOException
IOExceptionCopyright © 2017. All rights reserved.