Java XML Element Check is(final Element e, final String tag)

Here you can find the source of is(final Element e, final String tag)

Description

is

License

Open Source License

Declaration

public static boolean is(final Element e, final String tag) 

Method Source Code

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

import org.w3c.dom.Element;

public class Main {
    public static boolean is(final Element e, final String tag) {
        return e.getTagName().equalsIgnoreCase(tag);
    }/*from   w  ww.  j  a v  a2 s.c o  m*/
}

Related

  1. isAncestor(Element candAnc, Node cand)
  2. isAppearanceTag(Element e)
  3. isAsyncEventQueue(Element element)
  4. isComputedGoal(final Element element)