Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.10

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

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

Public Types

typedef XPath::eMatchScore eMatchScore
typedef size_t size_type

Public Member Functions

 XalanMatchPatternData (MemoryManagerType &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.
 ~XalanMatchPatternData ()
const XalanDOMStringgetTargetString () const
 Retrieve string for target.
const XPathgetExpression () const
 Retrieve the match pattern associated with pattern.
size_type getPosition () const
 Retrieve position of pattern in stylesheet.
const XalanDOMStringgetPattern () const
 Retrieve pattern string.
const ElemTemplategetTemplate () const
 Retrieve node that contains the template for this pattern.
eMatchScore getDefaultPriority () const
double getPriorityOrDefault () const

Detailed Description

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

Member Typedef Documentation

Constructor & Destructor Documentation

XalanMatchPatternData::XalanMatchPatternData ( MemoryManagerType 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.

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.
XalanMatchPatternData::~XalanMatchPatternData ( )

Member Function Documentation

eMatchScore XalanMatchPatternData::getDefaultPriority ( ) const
const XPath* XalanMatchPatternData::getExpression ( ) const

Retrieve the match pattern associated with pattern.

Returns
XPath for pattern
const XalanDOMString* XalanMatchPatternData::getPattern ( ) const

Retrieve pattern string.

Returns
string that contains element pattern
size_type XalanMatchPatternData::getPosition ( ) const

Retrieve position of pattern in stylesheet.

Returns
The position in the stylesheet
double XalanMatchPatternData::getPriorityOrDefault ( ) const
const XalanDOMString& XalanMatchPatternData::getTargetString ( ) const

Retrieve string for target.

Returns
target string
const ElemTemplate* XalanMatchPatternData::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.

dot

Xalan-C++ XSLT Processor Version 1.10
Copyright © 1999-2004 The Apache Software Foundation. All Rights Reserved.

Apache Logo