Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;
import org.w3c.dom.Element;

import javax.xml.namespace.QName;

public class Main {
    public static boolean is(Element element, QName qName) {
        final boolean equals = qName.equals(new QName(element.getNamespaceURI(), element.getTagName()));
        return equals;
    }
}