com.smallx.xml.xslt.xt.xpath
Class FullXPathDocumentCompiler

java.lang.Object
  extended bycom.smallx.xml.xslt.xt.xpath.FullXPathDocumentCompiler
All Implemented Interfaces:
XPathCompiler

public class FullXPathDocumentCompiler
extends java.lang.Object
implements XPathCompiler


Constructor Summary
FullXPathDocumentCompiler()
          Creates a new instance of MFullXPathDocumentCompiler
 
Method Summary
 DocumentExpression compileDocumentExpression(StaticContext context, java.lang.String str)
           
 DocumentExpression compileDocumentExpression(java.lang.String expression)
          Compiles an XPath expression.
 EventExpression compileEventExpression(StaticContext context, java.lang.String expression)
           
 EventExpression compileEventExpression(java.lang.String expression)
          Compiles an XPath expression.
 StaticContext getStaticContext()
           
 void setStaticContext(StaticContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FullXPathDocumentCompiler

public FullXPathDocumentCompiler()
Creates a new instance of MFullXPathDocumentCompiler

Method Detail

setStaticContext

public void setStaticContext(StaticContext context)
Specified by:
setStaticContext in interface XPathCompiler

getStaticContext

public StaticContext getStaticContext()
Specified by:
getStaticContext in interface XPathCompiler

compileDocumentExpression

public DocumentExpression compileDocumentExpression(StaticContext context,
                                                    java.lang.String str)
                                             throws XPathException
Specified by:
compileDocumentExpression in interface XPathCompiler
Throws:
XPathException

compileDocumentExpression

public DocumentExpression compileDocumentExpression(java.lang.String expression)
                                             throws XPathException
Description copied from interface: XPathCompiler
Compiles an XPath expression.

Specified by:
compileDocumentExpression in interface XPathCompiler
Parameters:
expression - The XPath expression to compile.
Throws:
XPathException - Thrown when there is a static error compiling the XPath

compileEventExpression

public EventExpression compileEventExpression(java.lang.String expression)
                                       throws XPathException
Description copied from interface: XPathCompiler
Compiles an XPath expression.

Specified by:
compileEventExpression in interface XPathCompiler
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
Specified by:
compileEventExpression in interface XPathCompiler
Throws:
XPathException