Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.11


Public Types | Public Member Functions | Friends

XStringBase Class Reference

#include <XStringBase.hpp>

Inherits XObject.

Inherited by XString, XStringAdapter, XStringCached, XStringReference, and XTokenStringAdapter.

Collaboration diagram for XStringBase:
Collaboration graph
[legend]

List of all members.

Public Types

Public Member Functions

Friends


Detailed Description

Definition at line 42 of file XStringBase.hpp.


Member Typedef Documentation

Reimplemented in XString, XStringAdapter, XStringCached, and XStringReference.

Definition at line 46 of file XStringBase.hpp.


Constructor & Destructor Documentation

XStringBase::XStringBase ( MemoryManager &  theMemoryManager  ) 

Construct an XStringBase object.

Parameters:
theMemoryManager The MemoryManager instance.
XStringBase::XStringBase ( MemoryManager &  theMemoryManager,
XPathExecutionContext theExecutionContext 
)

Construct an XStringBase object.

Parameters:
theMemoryManager The MemoryManager instance.
theExecutionContext The current XPathExecutionContext.
XStringBase::XStringBase ( const XStringBase source,
MemoryManager &  theMemoryManager 
)

Construct an XStringBase object from another.

Parameters:
source The source XStringBase instance.
theMemoryManager The MemoryManager instance.
virtual XStringBase::~XStringBase (  )  [virtual]

Member Function Documentation

virtual bool XStringBase::boolean ( XPathExecutionContext executionContext  )  const [virtual]

Cast result object to a boolean.

Parameters:
executionContext The current XPathExecutionContext
Returns:
boolean value

Implements XObject.

virtual const XalanDOMString& XStringBase::getTypeString (  )  const [virtual]

Given a request type, return the equivalent string.

For diagnostic purposes.

Returns:
string for type

Implements XObject.

virtual double XStringBase::num ( XPathExecutionContext executionContext  )  const [virtual]

Cast result object to a number.

Parameters:
executionContext The current XPathExecutionContext
Returns:
numeric value

Reimplemented from XObject.

Reimplemented in XTokenStringAdapter.

virtual void XStringBase::ProcessXObjectTypeCallback ( XObjectTypeCallback theCallbackObject  )  const [virtual]

Process a callback request for preferred type information.

Parameters:
theCallbackObject object to call back

Implements XObject.

virtual void XStringBase::ProcessXObjectTypeCallback ( XObjectTypeCallback theCallbackObject  )  [virtual]

Process a callback request for preferred type information.

Parameters:
theCallbackObject object to call back

Implements XObject.

virtual const XalanDocumentFragment& XStringBase::rtree (  )  const [virtual]

Cast result object to a result tree fragment.

Parameters:
executionContext The current XPathExecutionContext
Returns:
result tree fragment

Reimplemented from XObject.

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

Append the string value directly a string.

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

Implements XObject.

Implemented in XString, XStringAdapter, XStringCached, XStringReference, and XTokenStringAdapter.

virtual void XStringBase::str ( FormatterListener formatterListener,
MemberFunctionPtr  function 
) const [pure 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 XObject.

Implemented in XString, XStringAdapter, XStringCached, XStringReference, and XTokenStringAdapter.

virtual void XStringBase::str ( XalanDOMString theBuffer  )  const [pure 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 XObject.

Implemented in XString, XStringAdapter, XStringCached, XStringReference, and XTokenStringAdapter.

virtual void XStringBase::str ( XPathExecutionContext executionContext,
FormatterListener formatterListener,
MemberFunctionPtr  function 
) const [pure 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 XObject.

Implemented in XString, XStringAdapter, XStringCached, XStringReference, and XTokenStringAdapter.

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

Cast result object to a string.

Parameters:
executionContext The current XPathExecutionContext
Returns:
string value

Implements XObject.

Implemented in XString, XStringAdapter, XStringCached, XStringReference, and XTokenStringAdapter.

virtual const XalanDOMString& XStringBase::str (  )  const [pure 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 XObject.

Implemented in XString, XStringAdapter, XStringCached, XStringReference, and XTokenStringAdapter.

virtual double XStringBase::stringLength ( XPathExecutionContext executionContext  )  const [pure virtual]

Get the length of the string value of the instance.

Returns:
The length of the string value

Implements XObject.

Implemented in XString, XStringAdapter, XStringCached, XStringReference, and XTokenStringAdapter.


Friends And Related Function Documentation

friend class XObjectResultTreeFragProxyText [friend]

Definition at line 133 of file XStringBase.hpp.


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