Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.11


Public Member Functions

XObjectTypeCallback Class Reference

The purpose of this class is to provide a way to get the "preferred" or closest matching type for XObject-derived classes. More...

#include <XObjectTypeCallback.hpp>

Inherited by FunctionID::FunctionIDXObjectTypeCallback.

Collaboration diagram for XObjectTypeCallback:
Collaboration graph
[legend]

List of all members.

Public Member Functions


Detailed Description

The purpose of this class is to provide a way to get the "preferred" or closest matching type for XObject-derived classes.

The idea is to pass a reference to an instance of this class to an XObject instance. It will then call back to the member function that most closely matches its type. This makes it possible to get preferred typing information without doing RTTI or other such type introspections.

Definition at line 54 of file XObjectTypeCallback.hpp.


Constructor & Destructor Documentation

XObjectTypeCallback::XObjectTypeCallback ( XPathExecutionContext theExecutionContext  ) 
virtual XObjectTypeCallback::~XObjectTypeCallback (  )  [virtual]

Member Function Documentation

virtual void XObjectTypeCallback::Boolean ( const XObject theXObject,
bool  theValue 
) [pure virtual]

Call back the XObject with a boolean value.

Parameters:
theXObject 
theValue 
XPathExecutionContext& XObjectTypeCallback::getExecutionContext (  )  [inline]

Definition at line 143 of file XObjectTypeCallback.hpp.

virtual void XObjectTypeCallback::NodeSet ( const XObject theXObject,
const NodeRefListBase theValue 
) [pure virtual]

Call back the XObject with a node set value.

Parameters:
theXObject 
theValue 
virtual void XObjectTypeCallback::Null ( const XObject theObject  )  [pure virtual]

Call back the XObject with a null value.

Parameters:
theXObject 
theValue 
virtual void XObjectTypeCallback::Number ( const XObject theXObject,
double  theValue 
) [pure virtual]

Call back the XObject with a numeric value.

Parameters:
theXObject 
theValue 
virtual void XObjectTypeCallback::ResultTreeFragment ( const XObject theXObject,
XalanDocumentFragment theValue 
) [pure virtual]

Call back the XObject with a result tree fragment value.

Parameters:
theXObject 
theValue 
virtual void XObjectTypeCallback::ResultTreeFragment ( const XObject theXObject,
const XalanDocumentFragment theValue 
) [pure virtual]

Call back the XObject with a result tree fragment value.

Parameters:
theXObject 
theValue 
virtual void XObjectTypeCallback::String ( const XObject theXObject,
const XalanDOMString theValue 
) [pure virtual]

Call back the XObject with a string value.

Parameters:
theXObject 
theValue 
virtual void XObjectTypeCallback::Unknown ( const XObject theObject,
const XalanDOMString theName 
) [pure virtual]

Call back the XObject with an unknown value.

Parameters:
theXObject 
theValue 

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