Here you can find the source of isLinkNode(Element e)
public static boolean isLinkNode(Element e)
//package com.java2s; import org.w3c.dom.Element; public class Main { private static final String LINK_NODE = "A"; public static boolean isLinkNode(Element e) { if (e.getTagName().equals(LINK_NODE)) { return true; }/*from www.j a v a 2 s. c om*/ return false; } }