Java tutorial
//package com.java2s; /* * * Copyright (c) 1999-2013 NetDimensions Ltd. * * All rights reserved. * * This software is the confidential and proprietary information of * NetDimensions Ltd. ("Confidential Information"). You shall not * disclose such Confidential Information and shall use it only in * accordance with the terms of the license agreement you entered into * with NetDimensions. */ import javax.xml.xpath.XPath; import javax.xml.xpath.XPathFactory; public class Main { private static XPath newXPath() { return XPathFactory.newInstance().newXPath(); } }