org.apache.myfaces.util.xml
Class XmlUtils
java.lang.Object
org.apache.myfaces.util.xml.XmlUtils
public class XmlUtils
extends java.lang.Object
$Revision: 209486 $ $Date: 2005-07-06 19:48:41 +0200 (Wed, 06 Jul 2005) $- Manfred Geiler (latest modification by $Author: grantsmith $)
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)
|
getChildText
public static String getChildText(Element elem,
String childTagName)
Return content of child element with given tag name.
If more than one children with this name are present, the content of the last
element is returned.
- content of child element or null if no child element with this name was found
getChildTextList
public static List getChildTextList(Element elem,
String childTagName)
Return list of content Strings of all child elements with given tag name.
getElementText
public static String getElementText(Element elem)