com.saxonica.extra
Class DynamicFunction
java.lang.Object
  
net.sf.saxon.expr.Expression
      
net.sf.saxon.expr.FunctionCall
          
net.sf.saxon.functions.SystemFunction
              
net.sf.saxon.functions.CompileTimeFunction
                  
com.saxonica.extra.DynamicFunction
- All Implemented Interfaces: 
 - Serializable, SourceLocator, Container, EvaluableItem, SequenceIterable, InstructionInfoProvider
 
public class DynamicFunction
- extends CompileTimeFunction
 
This class implements the extension function saxon:function(), which returns a FirstClassFunction
 object representing the function named in the first argument. The second argument is the arity
 of the required function.
- See Also:
 - Serialized Form
 
 
 
 
 
 
| 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.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 | 
 
 
DynamicFunction
public DynamicFunction()
simplify
public Expression simplify(StaticContext env)
                    throws XPathException
- Description copied from class: 
FunctionCall 
- Simplify the function call. Default method is to simplify each of the supplied arguments and
 evaluate the function if all are now known.
- Overrides:
 simplify in class FunctionCall
 
- Returns:
 - the simplified expression
 - Throws:
 XPathException - if an error is discovered during expression
     rewriting
 
 
Copyright (C) Michael H. Kay. All rights reserved.