Package org.jaxen.function.ext
Class LowerFunction
java.lang.Object
org.jaxen.function.ext.LocaleFunctionSupport
org.jaxen.function.ext.LowerFunction
- All Implemented Interfaces:
Function
string lower-case(string)
This function can take a second parameter of the
Locale
to use for the String conversion.
For example
lower-case( /foo/bar )
lower-case( /foo/@name, $myLocale )
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.jaxen.function.ext.LocaleFunctionSupport
findLocale, findLocaleForLanguage, getLocale
-
Constructor Details
-
LowerFunction
public LowerFunction()
-
-
Method Details
-
call
Description copied from interface:Function
Evaluate this function.- Parameters:
context
- the context at the point in the expression when the function is calledargs
- arguments provided to the function- Returns:
- the result of evaluating the function; a
List
(node-set),Double
,Boolean
, orString
- Throws:
FunctionCallException
- if an XPath error occurs during evaluation; for instance, if the number or type of the arguments is incorrect
-