Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.11


Public Types | Public Member Functions | Protected Member Functions

XResultTreeFrag Class Reference

#include <XResultTreeFrag.hpp>

Inherits XObject.

Collaboration diagram for XResultTreeFrag:
Collaboration graph
[legend]

List of all members.

Public Types

Public Member Functions

Protected Member Functions


Detailed Description

Definition at line 50 of file XResultTreeFrag.hpp.


Member Typedef Documentation

Definition at line 54 of file XResultTreeFrag.hpp.


Constructor & Destructor Documentation

XResultTreeFrag::XResultTreeFrag ( XalanDocumentFragment value,
MemoryManager &  theManager 
)

Construct an XResultTreeFrag object from a result tree fragment.

Parameters:
value The source result tree fragment.
theManager The MemoryManager for this instance.
XResultTreeFrag::XResultTreeFrag ( const XResultTreeFrag source,
MemoryManager &  theManager 
)

Construct an XResultTreeFrag object from another.

Parameters:
source source XResultTreeFrag
theManager The MemoryManager for this instance.
virtual XResultTreeFrag::~XResultTreeFrag (  )  [virtual]

Member Function Documentation

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

Cast result object to a boolean.

Parameters:
executionContext The current XPathExecutionContext
Returns:
boolean value

Implements XObject.

virtual void XResultTreeFrag::dereferenced (  )  [protected, virtual]

Reimplemented from XObject.

MemoryManager& XResultTreeFrag::getMemoryManager (  )  const [inline]

Get the MemoryManager for this instance.

Returns:
The MemoryManager.

Reimplemented from XObject.

Definition at line 81 of file XResultTreeFrag.hpp.

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

Given a request type, return the equivalent string.

For diagnostic purposes.

Returns:
string for type

Implements XObject.

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

Cast result object to a number.

Parameters:
executionContext The current XPathExecutionContext
Returns:
numeric value

Reimplemented from XObject.

virtual double XResultTreeFrag::num (  )  const [virtual]

Cast result object to a number.

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.

Returns:
numeric value

Reimplemented from XObject.

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

Process a callback request for preferred type information.

Parameters:
theCallbackObject object to call back

Implements XObject.

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

Process a callback request for preferred type information.

Parameters:
theCallbackObject object to call back

Implements XObject.

XalanDocumentFragment* XResultTreeFrag::release (  ) 

Release the ResultTreeFrag held by the instance.

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

Cast result object to a result tree fragment.

Parameters:
executionContext The current XPathExecutionContext
Returns:
result tree fragment

Reimplemented from XObject.

void XResultTreeFrag::set ( XalanDocumentFragment theValue  ) 

Change the value of an XResultTreeFrag.

Parameters:
theValue The new value.
void XResultTreeFrag::setExecutionContext ( StylesheetExecutionContext theExecutionContext  )  [inline]

Definition at line 87 of file XResultTreeFrag.hpp.

virtual void XResultTreeFrag::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 XObject.

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

Cast result object to a string.

Parameters:
executionContext The current XPathExecutionContext
Returns:
string value

Implements XObject.

virtual void XResultTreeFrag::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 XObject.

virtual const XalanDOMString& XResultTreeFrag::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 XObject.

virtual void XResultTreeFrag::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 XObject.

virtual void XResultTreeFrag::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 XObject.

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

Get the length of the string value of the instance.

Returns:
The length of the string value

Implements XObject.


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