com.smallx.xml.xpath
Interface XPathCompiler
- All Known Implementing Classes:
- FullXPathDocumentCompiler
- public interface XPathCompiler
getStaticContext
public StaticContext getStaticContext()
setStaticContext
public void setStaticContext(StaticContext context)
compileEventExpression
public EventExpression compileEventExpression(java.lang.String expression)
throws XPathException
- Compiles an XPath expression.
- Parameters:
expression
- The XPath expression to compile.
- Throws:
XPathException
- Thrown when there is a static error compiling the XPath
compileEventExpression
public EventExpression compileEventExpression(StaticContext context,
java.lang.String expression)
throws XPathException
- Throws:
XPathException
compileDocumentExpression
public DocumentExpression compileDocumentExpression(java.lang.String expression)
throws XPathException
- Compiles an XPath expression.
- Parameters:
expression
- The XPath expression to compile.
- Throws:
XPathException
- Thrown when there is a static error compiling the XPath
compileDocumentExpression
public DocumentExpression compileDocumentExpression(StaticContext context,
java.lang.String expression)
throws XPathException
- Throws:
XPathException