Home | History | Annotate | Download | only in jaxp

Lines Matching defs:xpath

20 package org.apache.xpath.jaxp;
22 import org.apache.xpath.*;
25 import org.apache.xpath.objects.XObject;
27 import org.apache.xpath.res.XPATHErrorResources;
32 import javax.xml.xpath.XPathExpressionException;
33 import javax.xml.xpath.XPathConstants;
34 import javax.xml.xpath.XPathFunctionResolver;
35 import javax.xml.xpath.XPathVariableResolver;
36 import javax.xml.xpath.XPathConstants;
48 * The XPathExpression interface encapsulates a (compiled) XPath expression.
53 public class XPathExpressionImpl implements javax.xml.xpath.XPathExpression{
58 private org.apache.xpath.XPath xpath;
60 // By default Extension Functions are allowed in XPath Expressions. If
70 protected XPathExpressionImpl(org.apache.xpath.XPath xpath,
74 this.xpath = xpath;
81 protected XPathExpressionImpl(org.apache.xpath.XPath xpath,
86 this.xpath = xpath;
93 public void setXPath (org.apache.xpath.XPath xpath ) {
94 this.xpath = xpath;
105 org.apache.xpath.XPathContext xpathSupport = null;
108 // variable resolution scopes. Sufficient for simple XPath 1.0
113 xpathSupport = new org.apache.xpath.XPathContext(jep, false);
115 xpathSupport = new org.apache.xpath.XPathContext(false);
122 // We always need to have a ContextNode with Xalan XPath implementation
129 xobj = xpath.execute(xpathSupport, contextNode, prefixResolver );
135 * <p>Evaluate the compiled XPath expression in the specified context and
138 * <p>See "Evaluation of XPath Expressions" section of JAXP 1.3 spec
192 if ( nestedException instanceof javax.xml.xpath.XPathFunctionException ) {
193 throw (javax.xml.xpath.XPathFunctionException)nestedException;
204 * <p>Evaluate the compiled XPath expression in the specified context and
211 * <p>See "Evaluation of XPath Expressions" section of JAXP 1.3 spec
239 * <p>Evaluate the compiled XPath expression in the context of the
247 * <p>See "Evaluation of XPath Expressions" section of JAXP 1.3 spec
303 * <p>Evaluate the compiled XPath expression in the context of the specified <code>InputSource</code> and return the result as a
309 * <p>See "Evaluation of XPath Expressions" section of JAXP 1.3 spec
384 d = dim.createDocument("http://java.sun.com/jaxp/xpath",