org.cdlib.xtf.saxonExt.sql
Class SQLDelete.DeleteInstruction

Object
  extended by Expression
      extended by SimpleExpression
          extended by SQLDelete.DeleteInstruction
All Implemented Interfaces:
Serializable, SourceLocator, Container, EvaluableItem, SequenceIterable, InstructionInfoProvider
Enclosing class:
SQLDelete

private static class SQLDelete.DeleteInstruction
extends SimpleExpression


Field Summary
static int CONNECTION
           
static int TABLE
           
static int WHERE
           
 
Fields inherited from class SimpleExpression
arguments, NO_ARGUMENTS
 
Fields inherited from class Expression
EVALUATE_METHOD, ITERATE_METHOD, locationId, PROCESS_METHOD, staticProperties
 
Constructor Summary
SQLDelete.DeleteInstruction(Expression connection, Expression table, Expression where)
           
 
Method Summary
 Item evaluateItem(XPathContext context)
           
 String getExpressionType()
           
 int getImplementationMethod()
          A subclass must provide one of the methods evaluateItem(), iterate(), or process().
 
Methods inherited from class SimpleExpression
computeCardinality, computeDependencies, display, getItemType, iterate, iterateSubExpressions, optimize, process, promote, replaceSubExpression, setArguments, simplify, typeCheck
 
Methods inherited from class Expression
adoptChildExpression, checkPermittedContents, computeSpecialProperties, computeStaticProperties, doPromotion, dynamicError, effectiveBooleanValue, evaluateAsString, getCardinality, getColumnNumber, getConstructType, getContainingProcedure, getDependencies, getExecutable, getHostLanguage, getInstructionInfo, getIntrinsicDependencies, getLineNumber, getLocationId, getLocationProvider, getParentExpression, getPublicId, getSlotsUsed, getSpecialProperties, getSystemId, hasBadParentPointer, markTailFunctionCalls, resetStaticProperties, setLocationId, setParentExpression, setParentExpression, suppressValidation, typeError
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONNECTION

public static final int CONNECTION
See Also:
Constant Field Values

TABLE

public static final int TABLE
See Also:
Constant Field Values

WHERE

public static final int WHERE
See Also:
Constant Field Values
Constructor Detail

SQLDelete.DeleteInstruction

public SQLDelete.DeleteInstruction(Expression connection,
                                   Expression table,
                                   Expression where)
Method Detail

getImplementationMethod

public int getImplementationMethod()
A subclass must provide one of the methods evaluateItem(), iterate(), or process(). This method indicates which of the three is provided.

Overrides:
getImplementationMethod in class Expression

getExpressionType

public String getExpressionType()
Overrides:
getExpressionType in class SimpleExpression

evaluateItem

public Item evaluateItem(XPathContext context)
                  throws XPathException
Specified by:
evaluateItem in interface EvaluableItem
Overrides:
evaluateItem in class SimpleExpression
Throws:
XPathException