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 {
    public static XPath newXPath() {
        XPathFactory factory = newXPathFactory();
        return factory.newXPath();
    }

    public static XPathFactory newXPathFactory() {
        return XPathFactory.newInstance();
    }
}