org.jdesktop.xpath.function
Class AbstractFunction
java.lang.Object
org.jdesktop.xpath.function.AbstractFunction
- All Implemented Interfaces:
- XPathFunction
- Direct Known Subclasses:
- Abs, EndsWith, EqualsIgnoreCase, EscapeUri, LowerCase, Matches, Replace, UpperCase
public abstract class AbstractFunction
- extends Object
- implements XPathFunction
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractFunction
protected AbstractFunction(String name,
int arity)
getArity
public final int getArity()
getName
public final String getName()
getStringParam
protected String getStringParam(Object o)
throws XPathFunctionException
- Throws:
XPathFunctionException
getNumberParam
protected Number getNumberParam(Object o)
throws XPathFunctionException
- Throws:
XPathFunctionException