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  

Stylesheet::MatchPattern2 Class Reference

A class to contain a match pattern and it's corresponding template. More...

#include <Stylesheet.hpp>

Collaboration diagram for Stylesheet::MatchPattern2:

List of all members.

Public Methods


Detailed Description

A class to contain a match pattern and it's corresponding template.

This class also defines a node in a match pattern linked list.


Constructor & Destructor Documentation

Stylesheet::MatchPattern2::~MatchPattern2 ()


Member Function Documentation

Stylesheet::MatchPattern2::MatchPattern2 ( const XalanDOMString & pat,
const XPath * exp,
const ElemTemplate * theTemplate,
int posInStylesheet,
const XalanDOMString & targetString,
const Stylesheet * stylesheet)

Construct a match pattern from a pattern and template.

Parameters:
pat   string that contains element pattern
exp   XPath expression for pattern
theTemplate   node that contains the template for this pattern
posInStylesheet   position in stylesheet
targetString   target string
stylesheet   stylesheet for pattern

const XPath * Stylesheet::MatchPattern2::getExpression () const

Retrieve expression associated with pattern.

Returns:
XPath expression for pattern

const XalanDOMString & Stylesheet::MatchPattern2::getPattern () const

Retrieve pattern string.

Returns:
string that contains element pattern

int Stylesheet::MatchPattern2::getPositionInStylesheet () const

Retrieve position of pattern in stylesheet.

Returns:
position in stylesheet

const Stylesheet * Stylesheet::MatchPattern2::getStylesheet () const

Retrieve stylesheet associated with pattern.

Returns:
stylesheet for pattern

const XalanDOMString & Stylesheet::MatchPattern2::getTargetString () const

Retrieve string for target.

Returns:
target string

const ElemTemplate * Stylesheet::MatchPattern2::getTemplate () const

Retrieve node that contains the template for this pattern.

Returns:
template node

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.