Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.11


Public Types | Public Member Functions | Protected Member Functions

XStringReference Class Reference

#include <XStringReference.hpp>

Inherits XStringBase.

Collaboration diagram for XStringReference:
Collaboration graph
[legend]

List of all members.

Public Types

Public Member Functions

Protected Member Functions


Detailed Description

Definition at line 37 of file XStringReference.hpp.


Member Typedef Documentation

Reimplemented from XStringBase.

Definition at line 41 of file XStringReference.hpp.


Constructor & Destructor Documentation

XStringReference::XStringReference ( const XalanDOMString val,
MemoryManager &  theManager 
)

Construct an XStringReference object from a string.

The XStringReference will hold a reference to the supplied string, so the string must be in scope for the lifetime of the instance

Parameters:
value source string
XStringReference::XStringReference ( const XStringReference source,
MemoryManager &  theManager 
)
virtual XStringReference::~XStringReference (  )  [virtual]

Member Function Documentation

virtual eObjectType XStringReference::getRealType (  )  const [protected, virtual]

Tell what kind of class this is.

Returns:
numeric type value

Reimplemented from XObject.

virtual void XStringReference::str ( FormatterListener formatterListener,
MemberFunctionPtr  function 
) const [virtual]

Send the string value to a FormatterListener instance.

This function does not have access to the current XPathExecutionContext, so the result may contain data from whitespace text nodes that might have been stripped otherwise.

Parameters:
formatterListener The FormatterListener instance
function A pointer to the member function of FormatterListener to call

Implements XStringBase.

virtual const XalanDOMString& XStringReference::str ( XPathExecutionContext executionContext  )  const [virtual]

Cast result object to a string.

Parameters:
executionContext The current XPathExecutionContext
Returns:
string value

Implements XStringBase.

virtual void XStringReference::str ( XalanDOMString theBuffer  )  const [virtual]

Append the string value directly a string.

This function does not have access to the current XPathExecutionContext, so the result may contain data from whitespace text nodes that might have been stripped otherwise.

Parameters:
theBuffer The buffer for the data

Implements XStringBase.

virtual void XStringReference::str ( XPathExecutionContext executionContext,
XalanDOMString theBuffer 
) const [virtual]

Append the string value directly a string.

Parameters:
executionContext The current XPathExecutionContext
theBuffer The buffer for the data

Implements XStringBase.

virtual const XalanDOMString& XStringReference::str (  )  const [virtual]

Cast result object to a string.

This function does not have access to the current XPathExecutionContext, so the result may contain data from whitespace text nodes that might have been stripped otherwise.

Parameters:
executionContext The current XPathExecutionContext
Returns:
string value

Implements XStringBase.

virtual void XStringReference::str ( XPathExecutionContext executionContext,
FormatterListener formatterListener,
MemberFunctionPtr  function 
) const [virtual]

Send the string value to a FormatterListener instance.

Parameters:
executionContext The current XPathExecutionContext
formatterListener The FormatterListener instance
function A pointer to the member function of FormatterListener to call

Implements XStringBase.

virtual double XStringReference::stringLength ( XPathExecutionContext executionContext  )  const [virtual]

Get the length of the string value of the instance.

Returns:
The length of the string value

Implements XStringBase.


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