Package org.zkoss.xml

## Class Nodes

- java.lang.Object
- - org.zkoss.xml.Nodes

-     public class Nodes
      extends java.lang.Object

  Node related utilities. It supports iDOM.
  Author:
    tomyeh

- - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---
    `static org.w3c.dom.NodeList` | `EMPTY_NODELIST` | The empty node list.

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `Nodes()` |

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `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).