Xalan-C++ API Reference
1.12.0
|
XPath implementation of "normalize-space" function. More...
#include <xalanc/XPath/FunctionNormalizeSpace.hpp>
Public Types | |
typedef Function | ParentType |
Public Types inherited from xalanc::Function | |
typedef xercesc::Locator | LocatorType |
typedef XPathExecutionContext::XObjectArgVectorType | XObjectArgVectorType |
typedef XPathExecutionContext::GetCachedString | GetCachedString |
typedef XPathExecutionContext::GetCachedNodeList | GetCachedNodeList |
Public Member Functions | |
FunctionNormalizeSpace () | |
virtual | ~FunctionNormalizeSpace () |
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 FunctionNormalizeSpace * | clone (MemoryManager &theManager) const |
Create a copy of the function object. More... | |
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 Locator *locator) const |
Execute an XPath function object. More... | |
virtual XObjectPtr | execute (XPathExecutionContext &executionContext, XalanNode *context, const XObjectPtr arg, 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... | |
Public Member Functions inherited from xalanc::Function | |
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... | |
Protected Member Functions | |
virtual const XalanDOMString & | getError (XalanDOMString &theResult) const |
Get the error message to report when the function is called with the wrong number of arguments. More... | |
Protected Member Functions inherited from xalanc::Function | |
void | generalError (XPathExecutionContext &executionContext, const XalanNode *context, const Locator *locator) const |
Report the error returned from the getError() call. More... | |
XPath implementation of "normalize-space" function.
Definition at line 44 of file FunctionNormalizeSpace.hpp.
Definition at line 48 of file FunctionNormalizeSpace.hpp.
xalanc::FunctionNormalizeSpace::FunctionNormalizeSpace | ( | ) |
|
virtual |
|
virtual |
|
virtual |
Execute an XPath function object.
The function must return a valid object. Called if function has no parameters.
executionContext | executing context |
context | current context node |
locator | Locator instance for the XPath expression that contains the function call |
Reimplemented from xalanc::Function.
virtual XObjectPtr xalanc::Function::execute |
Execute an XPath function object.
The function must return a valid object. Called if function has no parameters.
executionContext | executing context |
context | current context node |
locator | Locator instance for the XPath expression that contains the function call |
virtual XObjectPtr xalanc::Function::execute |
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.
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 |
virtual XObjectPtr xalanc::Function::execute |
Execute an XPath function object.
The function must return a valid object. Called if function has one parameter.
executionContext | executing context |
context | current context node |
arg | pointer to XObject argument |
locator | Locator instance for the XPath expression that contains the function call |
|
virtual |
Execute an XPath function object.
The function must return a valid object. Called if function has one parameter.
executionContext | executing context |
context | current context node |
arg | pointer to XObject argument |
locator | Locator instance for the XPath expression that contains the function call |
Reimplemented from xalanc::Function.
virtual XObjectPtr xalanc::Function::execute |
Execute an XPath function object.
The function must return a valid object. Called if function has two 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 |
virtual XObjectPtr xalanc::Function::execute |
Execute an XPath function object.
The function must return a valid object. Called if function has three 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 |
|
protectedvirtual |
Get the error message to report when the function is called with the wrong number of arguments.
theBuffer | The XalanDOMString for the message. |
Implements xalanc::Function.
Copyright © 1999-2020 The Apache Software Foundation. All Rights Reserved.
Generated on Sun May 31 2020 10:37:32 for Xalan-C++ API Reference by 1.8.17