public final class DOMUtil extends Object
| 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 © 2019. All rights reserved.