public class XMLNamesFunctionCall extends FunctionCallImpl
Modifier and Type | Field and Description |
---|---|
static short |
LOCAL_PART |
static short |
NAME |
static short |
NAMESPACE |
INVALID_NUMBER_PARAMS, INVALID_RESULT
EXPR, FUNCTION_CALL, LITERAL, NUMBER, VARIABLE_REFERENCE
BOOLEAN, ERROR, FILTER_EXPR, LOCATION_PATH, NODE_TEST, PATH_EXPR, PRIMARY, STEP, STRING, UNION_EXPR
Constructor and Description |
---|
XMLNamesFunctionCall()
Creates a new XMLNames Function Call
|
XMLNamesFunctionCall(short type)
Creates a new XMLNames Function Call
|
Modifier and Type | Method and Description |
---|---|
XPathResult |
evaluate(XPathContext context)
Evaluates the expression and returns the XPath result.
|
addParameter, getFunctionName, getParameter, getParameterCount, toString
getExprType, getType
public static final short LOCAL_PART
public static final short NAME
public static final short NAMESPACE
public XMLNamesFunctionCall()
public XMLNamesFunctionCall(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.