org.directwebremoting.util
Class DomUtil

java.lang.Object
  extended by org.directwebremoting.util.DomUtil

public class DomUtil
extends java.lang.Object

Various utilities to make up for the fact that DOM isn't as useful as it could be.

Author:
Joe Walker [joe at getahead dot ltd dot uk]

Constructor Summary
DomUtil()
           
 
Method Summary
static java.lang.String getText(org.w3c.dom.Node node)
          Extract the textual content from a Node.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DomUtil

public DomUtil()
Method Detail

getText

public static java.lang.String getText(org.w3c.dom.Node node)
Extract the textual content from a Node. This is rather like the XPath value of a Node.

Parameters:
node - The node to extract the text from
Returns:
The textual value of the node

Copyright 2008