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