Java XML Element Get Value getValue(Element element)

Here you can find the source of getValue(Element element)

Description

get Value

License

Open Source License

Declaration

public static String getValue(Element element) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

import org.w3c.dom.Element;

public class Main {

    public static String getValue(Element element) {
        return element.getChildNodes().item(0).getNodeValue();
    }//  w  w  w  .j a v  a2  s  . c om
}

Related

  1. getType(Element elementType)
  2. getUniqueElement(Element root, String elementName)
  3. getUniqueSubnode(Element rootNode, String name)
  4. getValue(Element e, String tagName)
  5. getValue(Element el)
  6. getValue(Element element)
  7. getValue(Element element)
  8. getValue(Element element, String tag)
  9. getValue(Element pElement)