Here you can find the source of getElementName(Element element)
Parameter | Description |
---|---|
element | a parameter |
public static String getElementName(Element element)
//package com.java2s; //License from project: Apache License import org.w3c.dom.Element; public class Main { /**/*ww w .ja v a2s . c om*/ * Get the name of the element * * @param element * @return */ public static String getElementName(Element element) { return element.getNodeName(); } }