Parameters, XPathExpressionBooleanFunctionCall, Concat, Contains, CountFunctionCall, ErrorFunctionCall, ExtensionFunctionCall, FalseFunctionCall, FormatNumber, IdFunctionCall, IdRefFunctionCall, LangFunctionCall, LastFunctionCall, Normalize, NotFunctionCall, NumberFunctionCall, PositionFunctionCall, StartsWith, StringFunctionCall, StringLength, Substring, SubstringAfter, SubstringBefore, SumFunctionCall, TextFunctionCall, Translate, TrueFunctionCall, XMLNamesFunctionCallpublic abstract class FunctionCallImpl extends FunctionCall implements Parameters
| Modifier and Type | Field | Description |
|---|---|---|
static java.lang.String |
INVALID_NUMBER_PARAMS |
|
static java.lang.String |
INVALID_RESULT |
EXPR, FUNCTION_CALL, LITERAL, NUMBER, VARIABLE_REFERENCEBOOLEAN, ERROR, FILTER_EXPR, LOCATION_PATH, NODE_TEST, PATH_EXPR, PRIMARY, STEP, STRING, UNION_EXPR| Constructor | Description |
|---|---|
FunctionCallImpl(java.lang.String name) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
addParameter(XPathExpression expr) |
Adds the specified Expr to the list
|
java.lang.String |
getFunctionName() |
Returns the name of this function call
|
XPathExpression |
getParameter(int index) |
Returns the Expr at the specified position in this list.
|
int |
getParameterCount() |
Returns the number of expressions in the List
|
java.lang.String |
toString() |
Returns the String representation of this FunctionCall
|
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetExprType, getTypeevaluatepublic static final java.lang.String INVALID_NUMBER_PARAMS
public static final java.lang.String INVALID_RESULT
public java.lang.String getFunctionName()
getFunctionName in class FunctionCallpublic java.lang.String toString()
toString in interface XPathExpressiontoString in class java.lang.Objectpublic final void addParameter(XPathExpression expr) throws XPathException
expr - the Expr to add to the listXPathExceptionpublic final XPathExpression getParameter(int index) throws java.lang.IndexOutOfBoundsException
getParameter in interface ParametersgetParameter in class FunctionCallindex - the position of the Expr to returnjava.lang.IndexOutOfBoundsExceptionpublic final int getParameterCount()
getParameterCount in interface ParametersgetParameterCount in class FunctionCall