org.jaxen.function
Class IdFunction

java.lang.Object
  extended byorg.jaxen.function.IdFunction
All Implemented Interfaces:
Function

public class IdFunction
extends java.lang.Object
implements Function

4.1 node-set id(object)

Author:
Erwin Bolwidt (ejb @ klomp.org), Jérôme Nègre (jerome.negre @ e-xmlmedia.fr)

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

Constructor Detail

IdFunction

public IdFunction()
Method Detail

call

public java.lang.Object call(Context context,
                             java.util.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.
Throws:
FunctionCallException

evaluate

public static java.util.List evaluate(java.util.List contextNodes,
                                      java.lang.Object arg,
                                      Navigator nav)


Copyright © 2002 bob mcwhirter & James Strachan. All Rights Reserved. Hosted by

SourceForge Logo