Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.11


Public Types | Public Member Functions | Static Public Member Functions

XUnknown Class Reference

#include <XUnknown.hpp>

Inherits XObject.

Collaboration diagram for XUnknown:
Collaboration graph
[legend]

List of all members.

Public Types

Public Member Functions

Static Public Member Functions


Detailed Description

Definition at line 41 of file XUnknown.hpp.


Member Typedef Documentation

Definition at line 45 of file XUnknown.hpp.


Constructor & Destructor Documentation

XUnknown::XUnknown ( const XalanDOMString name,
MemoryManager &  theMemoryManager 
)

Construct an XUnknown object from a string.

Parameters:
name The source string.
theMemoryManager The MemoryManager instance.
XUnknown::XUnknown ( const XUnknown source,
MemoryManager &  theMemoryManager 
)

Construct an XUnknown from another one.

Parameters:
source The XUnknown instance to copy.
theMemoryManager The MemoryManager instance.
virtual XUnknown::~XUnknown (  )  [virtual]

Member Function Documentation

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

Cast result object to a boolean.

Parameters:
executionContext The current XPathExecutionContext
Returns:
boolean value

Implements XObject.

static XUnknown* XUnknown::create ( const XalanDOMString name,
MemoryManager &  theMemoryManager 
) [static]

Create an XUnknown object from a string.

Parameters:
name the source string.
theMemoryManager The MemoryManager instance.
virtual const XalanDOMString& XUnknown::getTypeString (  )  const [virtual]

Given a request type, return the equivalent string.

For diagnostic purposes.

Returns:
string for type

Implements XObject.

static void XUnknown::initialize ( MemoryManager &  theManager  )  [static]

Perform static initialization.

See class XPathInit.

Reimplemented from XObject.

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

Cast result object to a number.

Parameters:
executionContext The current XPathExecutionContext
Returns:
numeric value

Reimplemented from XObject.

virtual double XUnknown::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 XUnknown::ProcessXObjectTypeCallback ( XObjectTypeCallback theCallbackObject  )  const [virtual]

Process a callback request for preferred type information.

Parameters:
theCallbackObject object to call back

Implements XObject.

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

Process a callback request for preferred type information.

Parameters:
theCallbackObject object to call back

Implements XObject.

virtual const XalanDOMString& XUnknown::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 const XalanDOMString& XUnknown::str ( XPathExecutionContext executionContext  )  const [virtual]

Cast result object to a string.

Parameters:
executionContext The current XPathExecutionContext
Returns:
string value

Implements XObject.

virtual void XUnknown::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 XUnknown::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 void XUnknown::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 void XUnknown::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 XUnknown::stringLength ( XPathExecutionContext executionContext  )  const [virtual]

Get the length of the string value of the instance.

Returns:
The length of the string value

Implements XObject.

static void XUnknown::terminate (  )  [static]

Perform static shut down.

See class XPathInit.

Reimplemented from 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