org.xmlpull.v1.builder.xpath.jaxen.function
Class SubstringFunction
java.lang.Object
org.xmlpull.v1.builder.xpath.jaxen.function.SubstringFunction
- All Implemented Interfaces:
- Function
public class SubstringFunction
- extends java.lang.Object
- implements Function
4.2 string substring(string,number,number?)
|
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 startArg,
Navigator nav)
|
static java.lang.String |
evaluate(java.lang.Object strArg,
java.lang.Object startArg,
java.lang.Object lenArg,
Navigator nav)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SubstringFunction
public SubstringFunction()
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 called.args - List of arguments provided during
the call of the function.
- Throws:
FunctionCallException
evaluate
public static java.lang.String evaluate(java.lang.Object strArg,
java.lang.Object startArg,
Navigator nav)
evaluate
public static java.lang.String evaluate(java.lang.Object strArg,
java.lang.Object startArg,
java.lang.Object lenArg,
Navigator nav)