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

## com.caucho.xpath
Class XPathFun

    java.lang.Object
      |
      +--com.caucho.xpath.XPathFun

public abstract class XPathFun
extends java.lang.Object

Base class for XPath functions. The custom functions can use the Expr.toBoolean, etc. functions to convert to normal Java types.

Constructor Summary
`XPathFun()`

Method Summary
`abstract java.lang.Object` | `eval(Node node, ExprEnvironment env, com.caucho.xpath.pattern.AbstractPattern pattern, java.util.ArrayList args)` Evaluate the function.

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

Constructor Detail

### XPathFun

    public XPathFun()

Method Detail

### eval

    public abstract java.lang.Object eval(Node node,
                                          ExprEnvironment env,
                                          com.caucho.xpath.pattern.AbstractPattern pattern,
                                          java.util.ArrayList args)
                                   throws XPathException

  Evaluate the function.
  Parameters:
    `pattern` - The context pattern.
    `args` - The evaluated arguments

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