org.jaxen.function.ext

Class UpperFunction

public class UpperFunction extends LocaleFunctionSupport

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

Method Summary
Objectcall(Context context, List args)
static Stringevaluate(Object strArg, Locale locale, Navigator nav)
Converts the given string value to upper case using an optional Locale

Method Detail

call

public Object call(Context context, List args)

evaluate

public static String evaluate(Object strArg, Locale locale, Navigator nav)
Converts the given string value to upper case using an optional Locale

Parameters: strArg the value which gets converted to a String locale the Locale to use for the conversion or null if English should be used nav the Navigator to use