net.sf.saxon.functions
Class StaticBaseURI

java.lang.Object
  extended by net.sf.saxon.expr.Expression
      extended by net.sf.saxon.expr.FunctionCall
          extended by net.sf.saxon.functions.SystemFunction
              extended by net.sf.saxon.functions.CompileTimeFunction
                  extended by net.sf.saxon.functions.StaticBaseURI
All Implemented Interfaces:
Serializable, SourceLocator, Container, EvaluableItem, SequenceIterable, InstructionInfoProvider

public class StaticBaseURI
extends CompileTimeFunction

This class supports the static-base-uri() function in XPath 2.0 (added by the working groups on 24 August 2004)

See Also:
Serialized Form

Field Summary
 
Fields inherited from class net.sf.saxon.expr.Expression
EVALUATE_METHOD, ITERATE_METHOD, PROCESS_METHOD
 
Constructor Summary
StaticBaseURI()
           
 
Method Summary
 Expression preEvaluate(StaticContext env)
          Compile time evaluation
 
Methods inherited from class net.sf.saxon.functions.CompileTimeFunction
evaluateItem, iterate
 
Methods inherited from class net.sf.saxon.functions.SystemFunction
checkArguments, computeCardinality, computeSpecialProperties, display, getDetails, getErrorCodeForTypeErrors, getItemType, main, makeSystemFunction, optimize, setDetails
 
Methods inherited from class net.sf.saxon.expr.FunctionCall
getArguments, getDisplayName, getFunctionNameCode, getNumberOfArguments, iterateSubExpressions, promote, replaceSubExpression, setArguments, setFunctionNameCode, simplify, typeCheck
 
Methods inherited from class net.sf.saxon.expr.Expression
adoptChildExpression, checkPermittedContents, computeDependencies, computeStaticProperties, doPromotion, effectiveBooleanValue, evaluateAsString, getCardinality, getColumnNumber, getContainingProcedure, getDependencies, getExecutable, getHostLanguage, getImplementationMethod, getInstructionInfo, getIntrinsicDependencies, getLineNumber, getLocationId, getLocationProvider, getParentExpression, getPublicId, getSlotsUsed, getSpecialProperties, getSystemId, hasBadParentPointer, markTailFunctionCalls, process, resetStaticProperties, setLocationId, setParentExpression, setParentExpression, suppressValidation
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StaticBaseURI

public StaticBaseURI()
Method Detail

preEvaluate

public Expression preEvaluate(StaticContext env)
                       throws XPathException
Compile time evaluation

Overrides:
preEvaluate in class CompileTimeFunction
Throws:
XPathException


Copyright (C) Michael H. Kay. All rights reserved.