jd.xml.xslt.expr
Class InvalidFunction

java.lang.Object
  extended byjd.xml.xpath.expr.ExpressionImpl
      extended byjd.xml.xpath.expr.VariableExpression
          extended byjd.xml.xpath.expr.function.VariableFunction
              extended byjd.xml.xslt.expr.InvalidFunction
All Implemented Interfaces:
Expression, Function

public class InvalidFunction
extends VariableFunction

InvalidFunction is a placeholder for invalid function calls which are encountered in forward compatible processing mode.


Field Summary
static FunctionType TYPE
          The function type.
 
Fields inherited from class jd.xml.xpath.expr.function.VariableFunction
arguments_
 
Fields inherited from interface jd.xml.xpath.expr.function.Function
NULL_ARGUMENTS
 
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
InvalidFunction(String message)
          Create the function.
 
Method Summary
 int getContextDependencies()
          Return DEP_CONTEXT_STATIC.
 FunctionType getFunctionType()
          Return the FunctionType of the Function-
 XObject toXObject(XPathContext context)
          Throw an exception.
 
Methods inherited from class jd.xml.xpath.expr.function.VariableFunction
accept, getArgument, setArguments
 
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
 
Methods inherited from interface jd.xml.xpath.expr.Expression
getResultType, hasContextDependencies, isUniqueFilter, matchesFilter, toBooleanValue, toNode, toNodeSet, toNumberValue, toString, toStringValue
 

Field Detail

TYPE

public static final FunctionType TYPE
The function type.

Constructor Detail

InvalidFunction

public InvalidFunction(String message)
Create the function.

Method Detail

getFunctionType

public FunctionType getFunctionType()
Description copied from interface: Function
Return the FunctionType of the Function-


getContextDependencies

public int getContextDependencies()
Return DEP_CONTEXT_STATIC.

Specified by:
getContextDependencies in interface Expression
Overrides:
getContextDependencies in class VariableFunction

toXObject

public XObject toXObject(XPathContext context)
Throw an exception.

Parameters:
context - the evaluation context