Java XML Node Text Value getNodeTextValue(Node node)

Here you can find the source of getNodeTextValue(Node node)

Description

get Node Text Value

License

LGPL

Declaration

public static String getNodeTextValue(Node node) 

Method Source Code


//package com.java2s;
//License from project: LGPL 

import org.w3c.dom.*;

public class Main {
    public static String getNodeTextValue(Node node) {
        return node.getFirstChild().getNodeValue();
    }//from  w w w.jav a2s . co m
}

Related

  1. getNodeTextContent(Node node, String node_name)
  2. getNodeTexts(Node node, String... nodePath)
  3. getNodeTextValue(final Node node)
  4. getNodeTextValue(final Node node)
  5. getNodeTextValue(Node node)
  6. getNodeTextValue(Node node)
  7. getNodeTextValue(Node node)
  8. getNodeTextValue(Node pElement)
  9. getNormalizedText(Node node)