XPath implementation of "namespace-uri" function.
More...
#include <FunctionNamespaceURI.hpp>
Inherits Function.
|
| FunctionNamespaceURI () |
|
virtual | ~FunctionNamespaceURI () |
|
virtual XObjectPtr | execute (XPathExecutionContext &executionContext, XalanNode *context, const Locator *locator) const |
| Execute an XPath function object. More...
|
|
virtual XObjectPtr | execute (XPathExecutionContext &executionContext, XalanNode *context, const XObjectPtr arg1, const Locator *locator) const |
| Execute an XPath function object. More...
|
|
virtual FunctionNamespaceURI * | clone (MemoryManager &theManager) const |
| Create a copy of the function object. More...
|
|
| Function () |
|
virtual | ~Function () |
|
virtual XObjectPtr | execute (XPathExecutionContext &executionContext, XalanNode *context, const XObjectArgVectorType &args, const Locator *locator) const |
| Execute an XPath function object. More...
|
|
virtual XObjectPtr | execute (XPathExecutionContext &executionContext, XalanNode *context, const XObjectPtr arg1, const XObjectPtr arg2, const Locator *locator) const |
| Execute an XPath function object. More...
|
|
virtual XObjectPtr | execute (XPathExecutionContext &executionContext, XalanNode *context, const XObjectPtr arg1, const XObjectPtr arg2, const XObjectPtr arg3, const Locator *locator) const |
| Execute an XPath function object. More...
|
|
XPath implementation of "namespace-uri" function.
Definition at line 48 of file FunctionNamespaceURI.hpp.
◆ ParentType
◆ FunctionNamespaceURI()
FunctionNamespaceURI::FunctionNamespaceURI |
( |
| ) |
|
◆ ~FunctionNamespaceURI()
virtual FunctionNamespaceURI::~FunctionNamespaceURI |
( |
| ) |
|
|
virtual |
◆ clone()
Create a copy of the function object.
- Returns
- pointer to the new object
Implements Function.
◆ execute() [1/2]
Execute an XPath function object.
The function must return a valid object. Called if function has no parameters.
- Parameters
-
executionContext | executing context |
context | current context node |
locator | Locator instance for the XPath expression that contains the function call |
- Returns
- pointer to the result XObject
Reimplemented from Function.
◆ execute() [2/2]
Execute an XPath function object.
The function must return a valid object. Called if function has one parameter.
- Parameters
-
executionContext | executing context |
context | current context node |
arg | pointer to XObject argument |
locator | Locator instance for the XPath expression that contains the function call |
- Returns
- pointer to the result XObject
Reimplemented from Function.
◆ getError()
Get the error message to report when the function is called with the wrong number of arguments.
- Parameters
-
- Returns
- The error message
Implements Function.
The documentation for this class was generated from the following file: