Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.mjh.dom
Class DomUtil  view DomUtil download DomUtil.java

java.lang.Object
  extended bycom.mjh.dom.DomUtil

public class DomUtil
extends java.lang.Object


Nested Class Summary
 class DomUtil.NodeListImpl
           
 
Constructor Summary
DomUtil()
           
 
Method Summary
static org.w3c.dom.NodeList getChildElements(org.w3c.dom.Node node)
           
static org.w3c.dom.NodeList getChildElementsByTagName(org.w3c.dom.Node node, java.lang.String tagName)
           
static org.w3c.dom.NodeList getChildNodesOfType(org.w3c.dom.Node node, short type)
           
private static java.util.ArrayList getChildNodesOfTypeAsList(org.w3c.dom.Node node, short type)
           
static org.w3c.dom.Node getFirstChildElement(org.w3c.dom.Node node)
           
static org.w3c.dom.Node getFirstChildNodeOfType(org.w3c.dom.Node node, int type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DomUtil

public DomUtil()
Method Detail

getChildElements

public static org.w3c.dom.NodeList getChildElements(org.w3c.dom.Node node)

getChildElementsByTagName

public static org.w3c.dom.NodeList getChildElementsByTagName(org.w3c.dom.Node node,
                                                             java.lang.String tagName)

getFirstChildElement

public static org.w3c.dom.Node getFirstChildElement(org.w3c.dom.Node node)

getFirstChildNodeOfType

public static org.w3c.dom.Node getFirstChildNodeOfType(org.w3c.dom.Node node,
                                                       int type)

getChildNodesOfType

public static org.w3c.dom.NodeList getChildNodesOfType(org.w3c.dom.Node node,
                                                       short type)

getChildNodesOfTypeAsList

private static java.util.ArrayList getChildNodesOfTypeAsList(org.w3c.dom.Node node,
                                                             short type)