org.exist.xquery
Class Pragma

java.lang.Object
  extended by org.exist.xquery.Pragma
Direct Known Subclasses:
BatchTransactionPragma, ForceIndexUse, NoIndexPragma, Optimize, ProfilePragma, TimerPragma

public abstract class Pragma
extends Object


Constructor Summary
Pragma(QName qname, String contents)
           
 
Method Summary
abstract  void after(XQueryContext context, Expression expression)
           
 void analyze(AnalyzeContextInfo contextInfo)
           
abstract  void before(XQueryContext context, Expression expression)
           
 Sequence eval(Sequence contextSequence, Item contextItem)
           
 void resetState(boolean postOptimization)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Pragma

public Pragma(QName qname,
              String contents)
       throws XPathException
Throws:
XPathException
Method Detail

analyze

public void analyze(AnalyzeContextInfo contextInfo)
             throws XPathException
Throws:
XPathException

eval

public Sequence eval(Sequence contextSequence,
                     Item contextItem)
              throws XPathException
Throws:
XPathException

before

public abstract void before(XQueryContext context,
                            Expression expression)
                     throws XPathException
Throws:
XPathException

after

public abstract void after(XQueryContext context,
                           Expression expression)
                    throws XPathException
Throws:
XPathException

resetState

public void resetState(boolean postOptimization)

toString

public String toString()
Overrides:
toString in class Object


Copyright (C) Wolfgang Meier. All rights reserved.