Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;

import javax.xml.xpath.XPath;
import javax.xml.xpath.XPathFactory;

public class Main {
    /**
     * Creates new {@link XPath}.
     * 
     * @return new {@link XPath}.
     */
    public static XPath newXPath() {
        return XPathFactory.newInstance().newXPath();
    }
}