com.mindoo.remote.api.tools.xml
Class NodeTextExtractor

java.lang.Object
  extended by com.mindoo.remote.api.tools.xml.NodeTextExtractor

public class NodeTextExtractor
extends java.lang.Object

Class offering methods to extract text from a DOM-Node.

Internal utility class. Not part of the public API.


Constructor Summary
NodeTextExtractor()
           
 
Method Summary
static java.lang.String getTextContent(org.w3c.dom.Element node)
          Extracts text contained in a child node.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeTextExtractor

public NodeTextExtractor()
Method Detail

getTextContent

public static java.lang.String getTextContent(org.w3c.dom.Element node)
Extracts text contained in a child node.

Parameters:
node - parent node
Returns:
String the text