org.cdlib.xtf.saxonExt.sql
Class SQLUpdate.UpdateInstruction

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

private static class SQLUpdate.UpdateInstruction
extends SimpleExpression


Field Summary
static int CONNECTION
           
static int FIRST_COLUMN
           
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
SQLUpdate.UpdateInstruction(Expression connection, Expression table, Expression where, List columnInstructions)
           
 
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

FIRST_COLUMN

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

SQLUpdate.UpdateInstruction

public SQLUpdate.UpdateInstruction(Expression connection,
                                   Expression table,
                                   Expression where,
                                   List columnInstructions)
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