jd.xml.xslt.extension
Class ExtensionFunctionCall

java.lang.Object
  extended byjd.xml.xpath.expr.ExpressionImpl
      extended byjd.xml.xpath.expr.VariableExpression
          extended byjd.xml.xslt.extension.ExtensionFunctionCall
All Implemented Interfaces:
Expression

public class ExtensionFunctionCall
extends VariableExpression

ExtensionFunctionCall is a function call to an extension function, i.e. a function that is not part of the standard xslt function library but provided by an extendsion handler.

See Also:
ExtensionHandler

Field Summary
 
Fields inherited from interface jd.xml.xpath.expr.Expression
DEP_CONTEXT_NODE, DEP_CONTEXT_POSITION, DEP_CONTEXT_SIZE, DEP_CONTEXT_STATIC, DEP_NONE, DEP_UNKNOWN
 
Constructor Summary
ExtensionFunctionCall(String functionName, String namespaceUri, Expression[] arguments)
          Create a new ExtensionFunctionCall.
 
Method Summary
 void accept(ExpressionVisitor visitor)
          Accept a ExpressionVisitor.
 int getContextDependencies()
          Return a bitfield indicating the expression dependencies.
 XObject toXObject(XPathContext context)
          Evaluate the Expression.
 
Methods inherited from class jd.xml.xpath.expr.VariableExpression
getResultType, toBooleanValue, toNumberValue, toStringValue
 
Methods inherited from class jd.xml.xpath.expr.ExpressionImpl
hasContextDependencies, isUniqueFilter, matchesFilter, toNode, toNodeSet, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExtensionFunctionCall

public ExtensionFunctionCall(String functionName,
                             String namespaceUri,
                             Expression[] arguments)
Create a new ExtensionFunctionCall.

Parameters:
functionName - the name of the function
arguments - the arguments to be passed to the function.
Method Detail

getContextDependencies

public int getContextDependencies()
Return a bitfield indicating the expression dependencies.


toXObject

public XObject toXObject(XPathContext context)
Evaluate the Expression.

Parameters:
context - the evaluation context

accept

public void accept(ExpressionVisitor visitor)
Description copied from interface: Expression
Accept a ExpressionVisitor.