org.jaxen.function
Class LangFunction

java.lang.Object
  |
  +--org.jaxen.function.LangFunction
All Implemented Interfaces:
Function

public class LangFunction
extends Object
implements Function

4.3 boolean lang(string)

Author:
Attila Szegedi (szegedia @ freemail.hu)

Constructor Summary
LangFunction()
           
 
Method Summary
 Object call(Context context, List args)
          Call this function.
static Boolean evaluate(List contextNodes, String lang, Navigator nav)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LangFunction

public LangFunction()
Method Detail

call

public Object call(Context context,
                   List args)
            throws FunctionCallException
Description copied from interface: Function
Call this function.

Specified by:
call in interface Function
Parameters:
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

evaluate

public static Boolean evaluate(List contextNodes,
                               String lang,
                               Navigator nav)
                        throws UnsupportedAxisException
UnsupportedAxisException


Copyright © 2001-2003 Codehaus. All Rights Reserved.