public final class DOMUtil extends Object
| Constructor and Description |
|---|
DOMUtil() |
| Modifier and Type | Method and Description |
|---|---|
static Element |
getChild(Element parent,
String childName)
Return the first child of the given name, or null.
|
static List<Element> |
getChildren(Element parent,
String childName)
Return the children with the given name.
|
static String |
getChildText(Element parent,
String childName)
Return the inner text of the first child with the given name.
|
static String |
getInnerText(Node node)
Return the inner text of a node.
|
Copyright © 2018. All rights reserved.