org.jaxen
Interface Function

All Known Implementing Classes:
BooleanFunction, NormalizeSpaceFunction, FalseFunction, NumberFunction, FloorFunction, RoundFunction, StringFunction, NamespaceUriFunction, SubstringBeforeFunction, LocalNameFunction, NameFunction, TrueFunction, DocumentFunction, SubstringFunction, StartsWithFunction, SubstringAfterFunction, LastFunction, StringLengthFunction, PositionFunction, IdFunction, CountFunction, ContainsFunction, SumFunction, TranslateFunction, NotFunction, ConcatFunction, CeilingFunction, EvaluateFunction, LocaleFunctionSupport, MatrixConcatFunction, EndsWithFunction

public interface Function

Interface for the extensible function framework.

NOTE: This class is not typically used directly, but is exposed for writers of extended XPath packages.

Implementations of Function are functors which are used to evaluate a function-call within an XPath expression.

Author:
bob mcwhirter
See Also:
FunctionContext

Method Summary
 Object call(Context context, List args)
          Call this function.
 

Method Detail

call

public Object call(Context context,
                   List args)
            throws FunctionCallException
Call this function.
Parameters:
context - The context at the point in the expression when the function is called.
args - List of arguments provided during the call of the function.


Copyright © 2002 bob mcwhirter & James Strachan. All Rights Reserved. Hosted by

SourceForge Logo