Xalan-C++ API Reference  1.12.0
Public Types | Public Member Functions | List of all members
xalanc::XalanMatchPatternData Class Reference

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

#include <xalanc/XSLT/XalanMatchPatternData.hpp>

Public Types

typedef XPath::eMatchScore eMatchScore
 
typedef std::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 59 of file XalanMatchPatternData.hpp.

Constructor & Destructor Documentation

◆ XalanMatchPatternData()

xalanc::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 72 of file XalanMatchPatternData.hpp.

◆ ~XalanMatchPatternData()

xalanc::XalanMatchPatternData::~XalanMatchPatternData ( )
inline

Definition at line 89 of file XalanMatchPatternData.hpp.

Member Function Documentation

◆ getDefaultPriority()

eMatchScore xalanc::XalanMatchPatternData::getDefaultPriority ( ) const
inline

Definition at line 149 of file XalanMatchPatternData.hpp.

◆ getExpression()

const XPath* xalanc::XalanMatchPatternData::getExpression ( ) const
inline

Retrieve the match pattern associated with pattern.

Returns
XPath for pattern

Definition at line 110 of file XalanMatchPatternData.hpp.

◆ getPattern()

const XalanDOMString* xalanc::XalanMatchPatternData::getPattern ( ) const
inline

Retrieve pattern string.

Returns
string that contains element pattern

Definition at line 132 of file XalanMatchPatternData.hpp.

◆ getPosition()

size_type xalanc::XalanMatchPatternData::getPosition ( ) const
inline

Retrieve position of pattern in stylesheet.

Returns
The position in the stylesheet

Definition at line 121 of file XalanMatchPatternData.hpp.

◆ getPriorityOrDefault()

double xalanc::XalanMatchPatternData::getPriorityOrDefault ( ) const

◆ getTargetString()

const XalanDOMString& xalanc::XalanMatchPatternData::getTargetString ( ) const
inline

Retrieve string for target.

Returns
target string

Definition at line 99 of file XalanMatchPatternData.hpp.

◆ getTemplate()

const ElemTemplate* xalanc::XalanMatchPatternData::getTemplate ( ) const
inline

Retrieve node that contains the template for this pattern.

Returns
template node

Definition at line 143 of file XalanMatchPatternData.hpp.


The documentation for this class was generated from the following file: