Java XPath Create getXPathNoCache(String exp)

Here you can find the source of getXPathNoCache(String exp)

Description

get X Path No Cache

License

Open Source License

Declaration

public static XPathExpression getXPathNoCache(String exp)
            throws XPathExpressionException 

Method Source Code

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

import javax.xml.xpath.XPathExpression;
import javax.xml.xpath.XPathExpressionException;
import javax.xml.xpath.XPathFactory;

public class Main {
    private static XPathFactory sFactory = XPathFactory.newInstance();

    public static XPathExpression getXPathNoCache(String exp)
            throws XPathExpressionException {
        return sFactory.newXPath().compile(exp);
    }/*ww  w .j a  v a 2s.c o  m*/
}

Related

  1. getXPathForNode(Node node)
  2. getXPathFromVector(Vector path)
  3. getXPathFromVector(Vector path)
  4. getXPathFromVector(Vector path)
  5. getXPathListForNode(Node n)
  6. getXPathNodeIndex(Node node, boolean ignoreWhitespace)
  7. getXPathNodes(XPath xpath, Object inic, String name)
  8. getXPathToContent(final Node root, final String selectedContent)
  9. getXPathType(Class c)