org.jaxen.function
Class CountFunction

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

public class CountFunction
extends Object
implements Function

4.1 number count(node-set)

Author:
bob mcwhirter (bob @ werken.com)

Constructor Summary
CountFunction()
           
 
Method Summary
 Object call(Context context, List args)
          Call this function.
static Number evaluate(Object obj)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CountFunction

public CountFunction()
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
Following copied from interface: org.jaxen.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.

evaluate

public static Number evaluate(Object obj)


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

SourceForge Logo