Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.11


Public Types | Public Member Functions | List of all members
XalanMatchPatternData Class Reference

This class contains information concerning a match pattern in a stylesheet. More...

#include <XalanMatchPatternData.hpp>

Public Types

typedef XPath::eMatchScore eMatchScore
 
typedef size_t size_type
 

Public Member Functions

 XalanMatchPatternData (MemoryManager &theManager, const ElemTemplate &theTemplate, size_type thePosition, const XalanDOMString &theTargetString, const XPath &theMatchPattern, const XalanDOMString &thePatternString, eMatchScore thePriority)
 Construct a XalanMatchPatternData from a pattern and template. More...
 
 ~XalanMatchPatternData ()
 
const XalanDOMStringgetTargetString () const
 Retrieve string for target. More...
 
const XPathgetExpression () const
 Retrieve the match pattern associated with pattern. More...
 
size_type getPosition () const
 Retrieve position of pattern in stylesheet. More...
 
const XalanDOMStringgetPattern () const
 Retrieve pattern string. More...
 
const ElemTemplategetTemplate () const
 Retrieve node that contains the template for this pattern. More...
 
eMatchScore getDefaultPriority () const
 
double getPriorityOrDefault () const
 

Detailed Description

This class contains information concerning a match pattern in a stylesheet.

Definition at line 52 of file XalanMatchPatternData.hpp.

Member Typedef Documentation

◆ eMatchScore

Definition at line 57 of file XalanMatchPatternData.hpp.

◆ size_type

Definition at line 62 of file XalanMatchPatternData.hpp.

Constructor & Destructor Documentation

◆ XalanMatchPatternData()

XalanMatchPatternData::XalanMatchPatternData ( MemoryManager &  theManager,
const ElemTemplate theTemplate,
size_type  thePosition,
const XalanDOMString theTargetString,
const XPath theMatchPattern,
const XalanDOMString thePatternString,
eMatchScore  thePriority 
)
inline

Construct a XalanMatchPatternData from a pattern and template.

Parameters
theTemplateThe ElemTemplate node that contains the template for this pattern
thePositionThe position in the stylesheet
theTargetStringThe target string for match pattern
TheMatchPatternThe match pattern
thePatternStringthe pattern string
thePriorityThe priority for the match pattern.

Definition at line 76 of file XalanMatchPatternData.hpp.

◆ ~XalanMatchPatternData()

XalanMatchPatternData::~XalanMatchPatternData ( )
inline

Definition at line 93 of file XalanMatchPatternData.hpp.

Member Function Documentation

◆ getDefaultPriority()

eMatchScore XalanMatchPatternData::getDefaultPriority ( ) const
inline

Definition at line 153 of file XalanMatchPatternData.hpp.

◆ getExpression()

const XPath* XalanMatchPatternData::getExpression ( ) const
inline

Retrieve the match pattern associated with pattern.

Returns
XPath for pattern

Definition at line 114 of file XalanMatchPatternData.hpp.

◆ getPattern()

const XalanDOMString* XalanMatchPatternData::getPattern ( ) const
inline

Retrieve pattern string.

Returns
string that contains element pattern

Definition at line 136 of file XalanMatchPatternData.hpp.

◆ getPosition()

size_type XalanMatchPatternData::getPosition ( ) const
inline

Retrieve position of pattern in stylesheet.

Returns
The position in the stylesheet

Definition at line 125 of file XalanMatchPatternData.hpp.

◆ getPriorityOrDefault()

double XalanMatchPatternData::getPriorityOrDefault ( ) const

◆ getTargetString()

const XalanDOMString& XalanMatchPatternData::getTargetString ( ) const
inline

Retrieve string for target.

Returns
target string

Definition at line 103 of file XalanMatchPatternData.hpp.

◆ getTemplate()

const ElemTemplate* XalanMatchPatternData::getTemplate ( ) const
inline

Retrieve node that contains the template for this pattern.

Returns
template node

Definition at line 147 of file XalanMatchPatternData.hpp.


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++ XSLT Processor Version 1.11
Copyright © 1999-2012 The Apache Software Foundation.
All Rights Reserved.

Apache Logo