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  

NodeSorter Class Reference

This class can sort vectors of DOM nodes according to a select pattern. More...

#include <NodeSorter.hpp>

List of all members.

Public Types

Public Methods


Detailed Description

This class can sort vectors of DOM nodes according to a select pattern.


Member Typedef Documentation

typedef std::vector<NodeSortKey> NodeSorter::NodeSortKeyVectorType
 

typedef std::vector<XalanNode*> NodeSorter::NodeVectorType
 


Constructor & Destructor Documentation

NodeSorter::NodeSorter ( ) [explicit]
 

Construct a NodeSorter, passing in the XSL Processor so it can know how to get the node data according to the proper whitespace rules.

NodeSorter::~NodeSorter ( )
 


Member Function Documentation

void NodeSorter::sort ( StylesheetExecutionContext & executionContext,
MutableNodeRefList & theList,
const NodeSortKeyVectorType & keys ) const
 

Given a list of nodes, sort each node according to the criteria in the keys.

The list is assumed to be in document order.

Parameters:
executionContext   current execution context
v   list of Nodes
keys   vector of NodeSortKeys


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.