org.jaxen.function
Class SubstringBeforeFunction
java.lang.Object
org.jaxen.function.SubstringBeforeFunction
- All Implemented Interfaces:
- Function
- public class SubstringBeforeFunction
- extends java.lang.Object
- implements Function
4.2 string substring-before(string,string)
- Author:
- bob mcwhirter (bob @ werken.com)
Method Summary |
java.lang.Object |
call(Context context,
java.util.List args)
Call this function. |
static java.lang.String |
evaluate(java.lang.Object strArg,
java.lang.Object matchArg,
Navigator nav)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SubstringBeforeFunction
public SubstringBeforeFunction()
call
public java.lang.Object call(Context context,
java.util.List args)
throws FunctionCallException
- Description copied from interface:
Function
- Call this function.
- Specified by:
call
in interface Function
- Parameters:
context
- the context at the point in the
expression when the function is calledargs
- arguments provided to the function
- Throws:
FunctionCallException
evaluate
public static java.lang.String evaluate(java.lang.Object strArg,
java.lang.Object matchArg,
Navigator nav)
Copyright © 2001-2005 Codehaus. All Rights Reserved.