Parameters, XPathExpressionpublic class NumberFunctionCall extends FunctionCallImpl
| Modifier and Type | Field | Description |
|---|---|---|
static short |
CEILING |
|
static short |
FLOOR |
|
static short |
NUMBER |
|
static short |
ROUND |
INVALID_NUMBER_PARAMS, INVALID_RESULTEXPR, FUNCTION_CALL, LITERAL, VARIABLE_REFERENCEBOOLEAN, ERROR, FILTER_EXPR, LOCATION_PATH, NODE_TEST, PATH_EXPR, PRIMARY, STEP, STRING, UNION_EXPR| Constructor | Description |
|---|---|
NumberFunctionCall() |
Creates a new NumberFunctionCall
|
NumberFunctionCall(short type) |
Creates a new NumberFunctionCall using the given type
|
| Modifier and Type | Method | Description |
|---|---|---|
XPathResult |
evaluate(XPathContext context) |
Evaluates the expression and returns the XPath result.
|
addParameter, getFunctionName, getParameter, getParameterCount, toStringequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetExprType, getTypepublic static final short NUMBER
public static final short ROUND
public static final short FLOOR
public static final short CEILING
public NumberFunctionCall()
public NumberFunctionCall(short type)
public XPathResult evaluate(XPathContext context) throws XPathException
context - The XPathContext to use during evaluation.XPathException - if an error occured while
evaluating this expression.