org.planx.xpath.function
Class NumberFunction

java.lang.Object
  extended by org.planx.xpath.function.NumberFunction
All Implemented Interfaces:
Function

public class NumberFunction
extends Object
implements Function

Core number function.


Constructor Summary
NumberFunction()
           
 
Method Summary
 XObject evaluate(Object arg, Navigator navigator)
           
 XObject evaluate(XObject[] args, Context ctxt, Environment env, Navigator nav)
          Evaluate the function using the specified arguments, context, environment and navigator.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NumberFunction

public NumberFunction()
Method Detail

evaluate

public XObject evaluate(XObject[] args,
                        Context ctxt,
                        Environment env,
                        Navigator nav)
                 throws FunctionException
Description copied from interface: Function
Evaluate the function using the specified arguments, context, environment and navigator.

Specified by:
evaluate in interface Function
Throws:
FunctionException

evaluate

public XObject evaluate(Object arg,
                        Navigator navigator)
                 throws FunctionException
Throws:
FunctionException


Copyright © 2010. All Rights Reserved.