|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jaxen.function.ext.LocaleFunctionSupport
org.jaxen.function.ext.UpperFunction
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 )
Constructor Summary | |
UpperFunction()
|
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.util.Locale locale,
Navigator nav)
Converts the given string value to upper case using an optional Locale |
Methods inherited from class org.jaxen.function.ext.LocaleFunctionSupport |
findLocale, findLocaleForLanguage, getLocale |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public UpperFunction()
Method Detail |
public java.lang.Object call(Context context, java.util.List args) throws FunctionCallException
Function
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.
FunctionCallException
public static java.lang.String evaluate(java.lang.Object strArg, java.util.Locale locale, Navigator nav)
strArg
- the value which gets converted to a Stringlocale
- the Locale to use for the conversion or null if the
default should be usednav
- the Navigator to use
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |