Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.11


Public Types | Public Member Functions | Protected Member Functions

FunctionNormalizeSpace Class Reference

XPath implementation of "normalize-space" function. More...

#include <FunctionNormalizeSpace.hpp>

Inherits Function.

Collaboration diagram for FunctionNormalizeSpace:
Collaboration graph
[legend]

List of all members.

Public Types

Public Member Functions

Protected Member Functions


Detailed Description

XPath implementation of "normalize-space" function.

Definition at line 44 of file FunctionNormalizeSpace.hpp.


Member Typedef Documentation

Definition at line 48 of file FunctionNormalizeSpace.hpp.


Constructor & Destructor Documentation

FunctionNormalizeSpace::FunctionNormalizeSpace (  ) 
virtual FunctionNormalizeSpace::~FunctionNormalizeSpace (  )  [virtual]

Member Function Documentation

virtual FunctionNormalizeSpace* FunctionNormalizeSpace::clone ( MemoryManager &  theManager  )  const [virtual]

Create a copy of the function object.

Returns:
pointer to the new object

Implements Function.

virtual XObjectPtr FunctionNormalizeSpace::execute ( XPathExecutionContext executionContext,
XalanNode context,
const XObjectPtr  arg,
const Locator *  locator 
) const [virtual]

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.

virtual XObjectPtr FunctionNormalizeSpace::execute ( XPathExecutionContext executionContext,
XalanNode context,
const Locator *  locator 
) const [virtual]

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.

virtual const XalanDOMString& FunctionNormalizeSpace::getError ( XalanDOMString theBuffer  )  const [protected, virtual]

Get the error message to report when the function is called with the wrong number of arguments.

Parameters:
theBuffer The XalanDOMString for the message.
Returns:
The error message

Implements Function.


The documentation for this class was generated from the following file:

Interpreting class diagrams

Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.

Xalan-C++ XSLT Processor Version 1.11
Copyright © 1999-2012 The Apache Software Foundation.
All Rights Reserved.

Apache Logo