org.apache.shindig.common.xml
Class DomUtil
java.lang.Object
org.apache.shindig.common.xml.DomUtil
public final class DomUtil
- extends Object
Utility functions for navigating DOM
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getFirstNamedChildNode
public static Node getFirstNamedChildNode(Node root,
String nodeName)
- Returns:
- first child node matching the specified name
getLastNamedChildNode
public static Node getLastNamedChildNode(Node root,
String nodeName)
- Returns:
- last child node matching the specified name.
getElementsByTagNameCaseInsensitive
public static List<Element> getElementsByTagNameCaseInsensitive(Document doc,
Set<String> lowerCaseNames)
Copyright © 2007-2012. All Rights Reserved.