Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;

import javax.xml.xpath.*;

public class Main {
    private static XPath xPath = null;

    private static XPath getXPath() {
        if (xPath == null)
            xPath = XPathFactory.newInstance().newXPath();

        return xPath;
    }
}