Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jaxen.function.ext
Class EndsWithFunction

    java.lang.Object
      org.jaxen.function.ext.EndsWithFunction

All Implemented Interfaces:
  Function

public class EndsWithFunction
extends Object
implements Function

`boolean ends-with(string,string)`

Author:
  mark wilson (markw @ wilsoncom.de)

Constructor Summary
`EndsWithFunction()`

Method Summary
`Object` | `call(Context context, List args)` Evaluate this function.
`static Boolean` | `evaluate(Object strArg, Object matchArg, Navigator nav)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### EndsWithFunction

    public EndsWithFunction()

Method Detail

### call

    public Object call(Context context,
                       List args)
                throws FunctionCallException

  Description copied from interface: `Function`
  Evaluate this function.

  Specified by:
    `call` in interface `Function`
  Parameters:
    `context` - the context at the point in the expression when the function is called
    `args` - arguments provided to the function
  Returns:
    the result of evaluating the function; a `List` (node-set), `Double`, `Boolean`, or `String`
  Throws:
    `FunctionCallException` - if an XPath error occurs during evaluation; for instance, if the number or type of the arguments is incorrect

### evaluate

    public static Boolean evaluate(Object strArg,
                                   Object matchArg,
                                   Navigator nav)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001-2005 Codehaus. All Rights Reserved.