Java XPath Create newXPath()

Here you can find the source of newXPath()

Description

Create an XPath instance using JVM defaults.

License

LGPL

Declaration

public static XPath newXPath() 

Method Source Code

//package com.java2s;

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

public class Main {
    private static XPathFactory xPathFactory;

    /**/*www .  java 2  s.com*/
     * Create an XPath instance using JVM defaults.
     */
    public static XPath newXPath() {
        return xPathFactory.newXPath();
    }
}

Related

  1. getXPathToContent(final Node root, final String selectedContent)
  2. getXPathType(Class c)
  3. getXpathVal(InputStream pInputStream, String pXPath)
  4. getXPathValue(XPath xpath, Node d, String xq, String def)
  5. newXPath()
  6. newXpathExpression(final XPath xpath, final String expression)
  7. newXPathFactory()
  8. xPath()
  9. xpath()