|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.japisoft.xpath.function.AbstractFunction | +--com.japisoft.xpath.function.basic.SubStringBefore
function returns the substring of the first argument string that precedes the first occurrence of the second argument string in the first argument string, or the empty string if the first argument string does not contain the second argument string. For example, substring-before("1999/04/01","/") returns 1999
Constructor Summary | |
SubStringBefore()
|
Method Summary | |
java.lang.Object |
eval(XPathContext context,
FastVector arg)
Evalute this function for this context and the following arguments |
Methods inherited from class com.japisoft.xpath.function.AbstractFunction |
checkOneNodeSet, checkOneNumber, checkOneParameter, checkOneString, checkThreeStrings, checkTwoStrings, getString1, getString2, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public SubStringBefore()
Method Detail |
public java.lang.Object eval(XPathContext context, FastVector arg)
AbstractFunction
eval
in interface Function
eval
in class AbstractFunction
arg
- a Vector
value, this is the responsability of the function to test the argument type
Object
value like Integer, Boolean, String or NodeSet
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |