Xalan-C++ API Reference  1.12.0
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
xalanc::TracerEvent Class Reference

This is the parent class of events generated for tracing the progress of the XSL processor. More...

#include <xalanc/XSLT/TracerEvent.hpp>

Collaboration diagram for xalanc::TracerEvent:
[legend]

Public Member Functions

 TracerEvent (const StylesheetExecutionContext &executionContext, const ElemTemplateElement &styleNode)
 Construct a tracer event. More...
 
virtual ~TracerEvent ()
 

Static Public Member Functions

static XalanDOMStringprintNode (const XalanNode &n, XalanDOMString &theResult)
 Returns a string representation of the node. More...
 
static XalanDOMStringprintNodeList (const XalanNodeList &l, XalanDOMString &theResult)
 Returns a string representation of the node list. More...
 

Public Attributes

const StylesheetExecutionContextm_executionContext
 The XSLT processor instance. More...
 
const ElemTemplateElementm_styleNode
 The node in the style tree where the event occurs. More...
 

Detailed Description

This is the parent class of events generated for tracing the progress of the XSL processor.

Definition at line 49 of file TracerEvent.hpp.

Constructor & Destructor Documentation

◆ TracerEvent()

xalanc::TracerEvent::TracerEvent ( const StylesheetExecutionContext executionContext,
const ElemTemplateElement styleNode 
)

Construct a tracer event.

Parameters
executionContextXSLT processor instance
sourceNodecurrent context node
styleNodenode in the style tree where the event occurs

◆ ~TracerEvent()

virtual xalanc::TracerEvent::~TracerEvent ( )
virtual

Member Function Documentation

◆ printNode()

static XalanDOMString& xalanc::TracerEvent::printNode ( const XalanNode n,
XalanDOMString theResult 
)
static

Returns a string representation of the node.

The string returned for elements will contain the element name and any attributes enclosed in angle brackets. The string returned for attributes will be of form, "name=value."

Parameters
nany DOM node
Returns
string representation of the given node

◆ printNodeList()

static XalanDOMString& xalanc::TracerEvent::printNodeList ( const XalanNodeList l,
XalanDOMString theResult 
)
static

Returns a string representation of the node list.

The string will contain the list of nodes inside square braces. Elements will contain the element name and any attributes enclosed in angle brackets. Attributes will be of form, "name=value."

Parameters
lany DOM node list
Returns
string representation of the given node list

Member Data Documentation

◆ m_executionContext

const StylesheetExecutionContext& xalanc::TracerEvent::m_executionContext

The XSLT processor instance.

Definition at line 94 of file TracerEvent.hpp.

◆ m_styleNode

const ElemTemplateElement& xalanc::TracerEvent::m_styleNode

The node in the style tree where the event occurs.

Definition at line 99 of file TracerEvent.hpp.


The documentation for this class was generated from the following file: