Package org.jaxen.function.ext
Class UpperFunction
java.lang.Object
org.jaxen.function.ext.LocaleFunctionSupport
org.jaxen.function.ext.UpperFunction
- All Implemented Interfaces:
Function
string upper-case(string)
This function can take a second parameter of the
Locale
to use for the String conversion.
For example
upper-case( /foo/bar )
upper-case( /foo/@name, $myLocale )
- Author:
- mark wilson (markw@wilsoncom.de), James Strachan
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.jaxen.function.ext.LocaleFunctionSupport
findLocale, findLocaleForLanguage, getLocale
-
Constructor Details
-
UpperFunction
public UpperFunction()
-
-
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
-