Xalan-C++ API Documentation

The Xalan-C++ XSL Transformer Version 1.0

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

XLocator Class Reference

#include <XLocator.hpp>

Inheritance diagram for XLocator:

SimpleNodeLocator List of all members.

Public Types

Public Methods


Detailed Description


Member Typedef Documentation

typedef std::vector<XObject*> XLocator::ConnectArgsVectorType


Constructor & Destructor Documentation

XLocator::XLocator ()

virtual XLocator::~XLocator () [virtual]


Member Function Documentation

const XObject * XLocator::locationPath ( const XPath & xpath,
XPathExecutionContext & executionContext,
XalanNode & context,
int opPos) [pure virtual]

Execute a location path.

Normally, this method simply moves past the OP_LOCATIONPATH and its length member, and calls the Step function, which will recursively process the rest of the location path, and then wraps the resulting node list in an XNodeSet object.

Parameters:
xpath   xpath that is executing
context   current source tree context node
opPos   current position in the xpath.m_opMap array
Returns:
result of the query in a pointer to an XObject

Reimplemented in SimpleNodeLocator.

double XLocator::locationPathPattern ( const XPath & xpath,
XPathExecutionContext & executionContext,
XalanNode & context,
int opPos) [pure virtual]

Execute a location path pattern.

Parameters:
xpath   xpath that is executing
context   current source tree context node
opPos   current position in the xpath operation map array
Returns:
score, one of MATCH_SCORE_NODETEST, MATCH_SCORE_NONE, MATCH_SCORE_OTHER, MATCH_SCORE_QNAME

Reimplemented in SimpleNodeLocator.


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.0
Copyright © 2000 The Apache Software Foundation. All Rights Reserved.