public XPathParser( NamespaceContext nsContext, XPathVariableResolver variableResolver, XPathFunctionResolver functionResolver) { this.nsContext = nsContext; this.variableResolver = variableResolver; this.functionResolver = functionResolver; reader.setXPathHandler(this); }
public Expression parse(String xpath, boolean documentContext) throws SAXPathException { this.documentContext = documentContext; frames.clear(); peekFrame = null; stepStack.clear(); predicateDepth = 0; expr = null; reader.parse(xpath); return expr; }