#include <xalanc/XSLT/FunctionDocument.hpp>
|
| FunctionDocument () |
|
virtual | ~FunctionDocument () |
|
virtual XObjectPtr | execute (XPathExecutionContext &executionContext, XalanNode *context, const XObjectPtr arg, const Locator *locator) const |
| Execute an XPath function object.
|
|
virtual XObjectPtr | execute (XPathExecutionContext &executionContext, XalanNode *context, const XObjectPtr arg1, const XObjectPtr arg2, const Locator *locator) const |
| Execute an XPath function object.
|
|
virtual FunctionDocument * | clone (MemoryManager &theManager) const |
| Create a copy of the function object.
|
|
virtual XObjectPtr | execute (XPathExecutionContext &executionContext, XalanNode *context, const XObjectArgVectorType &args, const Locator *locator) const |
| Execute an XPath function object.
|
|
virtual XObjectPtr | execute (XPathExecutionContext &executionContext, XalanNode *context, const Locator *locator) const |
| Execute an XPath function object.
|
|
virtual XObjectPtr | execute (XPathExecutionContext &executionContext, XalanNode *context, const XObjectPtr arg, const Locator *locator) const |
| Execute an XPath function object.
|
|
virtual XObjectPtr | execute (XPathExecutionContext &executionContext, XalanNode *context, const XObjectPtr arg1, const XObjectPtr arg2, const Locator *locator) const |
| Execute an XPath function object.
|
|
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.
|
|
| Function () |
|
virtual | ~Function () |
|
Definition at line 38 of file FunctionDocument.hpp.
◆ ParentType
◆ FunctionDocument()
xalanc::FunctionDocument::FunctionDocument |
( |
| ) |
|
◆ ~FunctionDocument()
virtual xalanc::FunctionDocument::~FunctionDocument |
( |
| ) |
|
|
virtual |
◆ clone()
Create a copy of the function object.
- Returns
- pointer to the new object
Implements xalanc::Function.
◆ execute() [1/7]
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 xalanc::Function.
◆ execute() [2/7]
Execute an XPath function object.
The function must return a valid object. Extension functions should override this version of execute(), rather than one of the other calls designed for a specific number of arguments, since the extension function mechanism will call this version first. Extension functions that accept more than three arguments must override this version.
- Parameters
-
executionContext | executing context |
context | current context node |
args | vector of pointers to XObject arguments |
locator | Locator instance for the XPath expression that contains the function call |
- Returns
- pointer to the result XObject
Reimplemented from xalanc::Function.
◆ execute() [3/7]
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 xalanc::Function.
◆ execute() [4/7]
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 xalanc::Function.
◆ execute() [5/7]
Execute an XPath function object.
The function must return a valid object. Called if function has two parameters.
- Parameters
-
executionContext | executing context |
context | current context node |
arg1 | pointer to XObject argument |
arg2 | pointer to XObject argument |
locator | Locator instance for the XPath expression that contains the function call |
- Returns
- pointer to the result XObject
Reimplemented from xalanc::Function.
◆ execute() [6/7]
Execute an XPath function object.
The function must return a valid object. Called if function has two parameters.
- Parameters
-
executionContext | executing context |
context | current context node |
arg1 | pointer to XObject argument |
arg2 | pointer to XObject argument |
locator | Locator instance for the XPath expression that contains the function call |
- Returns
- pointer to the result XObject
Reimplemented from xalanc::Function.
◆ execute() [7/7]
Execute an XPath function object.
The function must return a valid object. Called if function has three parameters.
- Parameters
-
executionContext | executing context |
context | current context node |
arg1 | pointer to XObject arguments |
arg2 | pointer to XObject argument |
arg3 | pointer to XObject argument |
locator | Locator instance for the XPath expression that contains the function call |
- Returns
- pointer to the result XObject
Reimplemented from xalanc::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 xalanc::Function.
References xalanc::operator==().
The documentation for this class was generated from the following file: