org.cdlib.xtf.saxonExt.redirect
Class HttpErrorElement.HttpErrorInstruction

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

private class HttpErrorElement.HttpErrorInstruction
extends SimpleExpression


Field Summary
(package private)  Expression codeExp
           
(package private)  Expression messageExp
           
 
Fields inherited from class SimpleExpression
arguments, NO_ARGUMENTS
 
Fields inherited from class Expression
EVALUATE_METHOD, ITERATE_METHOD, locationId, PROCESS_METHOD, staticProperties
 
Constructor Summary
HttpErrorElement.HttpErrorInstruction(Expression codeExp, Expression messageExp)
           
 
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

codeExp

Expression codeExp

messageExp

Expression messageExp
Constructor Detail

HttpErrorElement.HttpErrorInstruction

public HttpErrorElement.HttpErrorInstruction(Expression codeExp,
                                             Expression messageExp)
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