org.zkoss.xml
Class Nodes

java.lang.Object
  extended by org.zkoss.xml.Nodes

public class Nodes
extends java.lang.Object

Node related utilities. It supports iDOM.

Author:
tomyeh

Field Summary
static org.w3c.dom.NodeList EMPTY_NODELIST
          The empty node list.
 
Constructor Summary
Nodes()
           
 
Method Summary
static java.lang.String valueOf(org.w3c.dom.Node node)
          Get the text value of a node.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EMPTY_NODELIST

public static final org.w3c.dom.NodeList EMPTY_NODELIST
The empty node list.

Constructor Detail

Nodes

public Nodes()
Method Detail

valueOf

public static final java.lang.String valueOf(org.w3c.dom.Node node)
Get the text value of a node.

If the node is not an element, Node.getNodeValue is called. If the node is an element, the returned string is a concatenation of all values of TEXT_NODE and CDATA_SECTION_NODE.

Textual nodes include Text, CDATA and Binary (iDOM's extension).



Copyright © 2005-2011 Potix Corporation. All Rights Reserved. SourceForge.net Logo