Java XPath Expression compile(String expression)

Here you can find the source of compile(String expression)

Description

compile

License

Apache License

Declaration

public static XPathExpression compile(String expression) throws XPathExpressionException 

Method Source Code

//package com.java2s;
//License from project: Apache License 

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

public class Main {
    private static XPath xPath;

    public static XPathExpression compile(String expression) throws XPathExpressionException {
        return xPath.compile(expression);
    }//  w ww.  ja va2s. co  m
}

Related

  1. asBoolean(String expression, Node node)
  2. asLong(String expression, Node node)
  3. compile(String expression)
  4. compile(String path)
  5. compileXPathExpression(String xPathExpression)
  6. constructXPathForElement(Element inElem, String xPathRest)
  7. createFactory()