com.mjh.dom
Class DomUtil

java.lang.Object
  |
  +--com.mjh.dom.DomUtil

public class DomUtil
extends java.lang.Object

Author:
michaelh To change this generated comment edit the template variable "typecomment": Window>Preferences>Java>Templates. To enable and disable the creation of type comments go to Window>Preferences>Java>Code Generation.

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)
           
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)


Copyright © 2002-2002 Michael J. Henderson & Associates, LLC. All Rights Reserved.