Xalan-C++ API Documentation

The Xalan C++ XSL Transformer Version 1.1

Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

ElemForEach Class Reference

#include <ElemForEach.hpp>

Inheritance diagram for ElemForEach

Inheritance graph

[legend]
Collaboration diagram for ElemForEach:

Collaboration graph

[legend]
List of all members.

Public Types

Public Methods

Protected Methods

Protected Attributes


Member Typedef Documentation

typedef std::vector<ElemSort*> ElemForEach::SortElemsVector
 


Constructor & Destructor Documentation

ElemForEach::ElemForEach ( StylesheetConstructionContext & constructionContext,
Stylesheet & stylesheetTree,
const AttributeList & atts,
int lineNumber,
int columnNumber )
 

Construct an object corresponding to an "xsl:for-each" element.

Parameters:
constructionContext   context for construction of object
stylesheetTree   stylesheet containing element
atts   list of attributes for element
lineNumber   line number in document
columnNumber   column number in document

virtual ElemForEach::~ElemForEach ( ) [virtual]
 

ElemForEach::ElemForEach ( StylesheetConstructionContext & constructionContext,
Stylesheet & stylesheetTree,
const AttributeList & atts,
int lineNumber,
int columnNumber,
int xslToken ) [protected]
 

Construct an object derived from ElemForEach.

Parameters:
constructionContext   context for construction of object
stylesheetTree   stylesheet containing element
atts   list of attributes for element
lineNumber   line number in document
columnNumber   column number in document
xslToken   an integer representing the type of instance.


Member Function Documentation

virtual void ElemForEach::execute ( StylesheetExecutionContext & executionContext ) const [virtual]
 

Execute the element's primary function.

Subclasses of this function may recursively execute down the element tree.

Parameters:
executionContext   The current execution context

Reimplemented from ElemTemplateElement.

Reimplemented in ElemApplyTemplates.

virtual const XalanDOMString& ElemForEach::getElementName ( ) const [virtual]
 

Reimplemented from ElemTemplateElement.

Reimplemented in ElemApplyTemplates.

SortElemsVector & ElemForEach::getSortElems ( ) []
 

const SortElemsVector & ElemForEach::getSortElems ( ) const []
 

void ElemForEach::transformSelectedChildren ( StylesheetExecutionContext & executionContext,
const ElemTemplateElement * theTemplate,
XalanNode * sourceNodeContext,
int selectStackFrameIndex ) const [protected]
 

Perform a query if needed, and call transformChild for each child.

Parameters:
executionContext   The current execution context
template   The owning template context.
sourceNodeContext   The current source node context.
selectStackFrameIndex   stack frame context for executing the select statement


Member Data Documentation

const XPath * ElemForEach::m_selectPattern [protected]
 


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++ XSL Transformer Version 1.1
Copyright © 2000, 2001 The Apache Software Foundation. All Rights Reserved.