public class XmlUtils extends Object
Modifier and Type | Method and Description |
---|---|
static String |
getChildText(Element elem,
String childTagName)
Return content of child element with given tag name.
|
static List |
getChildTextList(Element elem,
String childTagName)
Return list of content Strings of all child elements with given tag name.
|
static String |
getElementText(Element elem) |
public static String getChildText(Element elem, String childTagName)
elem
- childTagName
- Copyright © 2016 The Apache Software Foundation. All Rights Reserved.