Java XPath Create newXPath()

Here you can find the source of newXPath()

Description

new X Path

License

Open Source License

Declaration

public static XPath newXPath() 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

import javax.xml.xpath.XPath;

import javax.xml.xpath.XPathFactory;

public class Main {
    public static XPath newXPath() {
        XPathFactory factory = XPathFactory.newInstance();
        XPath xpath = factory.newXPath();
        return xpath;
    }/* www  .j a  va 2 s.co  m*/
}

Related

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