org.cdlib.xtf.saxonExt.sql
Class SQLColumn.ColumnInstruction

Object
  extended by Expression
      extended by Instruction
          extended by GeneralVariable
              extended by SQLColumn.ColumnInstruction
All Implemented Interfaces:
Serializable, SourceLocator, Binding, Container, EvaluableItem, SequenceIterable, TailCallReturner, InstructionInfoProvider
Enclosing class:
SQLColumn

protected static class SQLColumn.ColumnInstruction
extends GeneralVariable

See Also:
Serialized Form

Field Summary
(package private)  boolean evalSql
           
(package private)  String name
           
 
Fields inherited from class GeneralVariable
evaluationMode, nameCode, referenceCount, slotNumber
 
Fields inherited from class Expression
EVALUATE_METHOD, ITERATE_METHOD, locationId, PROCESS_METHOD, staticProperties
 
Constructor Summary
SQLColumn.ColumnInstruction(String name, boolean evalSql)
           
 
Method Summary
 boolean evalSql()
           
 ValueRepresentation evaluateVariable(XPathContext context)
          Evaluate the variable (method exists only to satisfy the interface)
 String getColumnName()
           
 InstructionInfo getInstructionInfo()
           
 TailCall processLeavingTail(XPathContext context)
           
 
Methods inherited from class GeneralVariable
display, evaluateItem, getCardinality, getInstructionNameCode, getItemType, getLocalSlotNumber, getNameCode, getRequiredType, getSelectExpression, getSelectValue, getSlotNumber, getVariableFingerprint, getVariableName, init, isAssignable, isGlobal, isImplicitlyRequiredParam, isRequiredParam, isTunnelParam, iterate, iterateSubExpressions, optimize, promoteInst, replaceSubExpression, setAssignable, setImplicitlyRequiredParam, setNameCode, setReferenceCount, setRequiredParam, setRequiredType, setSelectExpression, setSlotNumber, setTunnel, setVariableName, simplify, typeCheck
 
Methods inherited from class Instruction
appendItem, assembleParams, assembleTunnelParams, computeCardinality, computeSpecialProperties, createsNewNodes, dynamicError, evaluateAsString, getImplementationMethod, getSourceLocator, isXSLT, process, promote
 
Methods inherited from class Expression
adoptChildExpression, checkPermittedContents, computeDependencies, computeStaticProperties, doPromotion, dynamicError, effectiveBooleanValue, getColumnNumber, getConstructType, getContainingProcedure, getDependencies, getExecutable, getHostLanguage, 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
 
Methods inherited from interface SourceLocator
getColumnNumber, getLineNumber, getPublicId, getSystemId
 

Field Detail

name

String name

evalSql

boolean evalSql
Constructor Detail

SQLColumn.ColumnInstruction

public SQLColumn.ColumnInstruction(String name,
                                   boolean evalSql)
Method Detail

getColumnName

public String getColumnName()

evalSql

public boolean evalSql()

getInstructionInfo

public InstructionInfo getInstructionInfo()
Specified by:
getInstructionInfo in interface InstructionInfoProvider
Overrides:
getInstructionInfo in class Instruction

processLeavingTail

public TailCall processLeavingTail(XPathContext context)
Specified by:
processLeavingTail in interface TailCallReturner
Specified by:
processLeavingTail in class Instruction

evaluateVariable

public ValueRepresentation evaluateVariable(XPathContext context)
                                     throws XPathException
Evaluate the variable (method exists only to satisfy the interface)

Throws:
XPathException