19 #if !defined(XALAN_MATCHPATTERNDATA_HEADER_GUARD) 20 #define XALAN_MATCHPATTERNDATA_HEADER_GUARD 41 XALAN_CPP_NAMESPACE_BEGIN
59 #if defined(XALAN_STRICT_ANSI_HEADERS) 77 MemoryManager& theManager,
79 size_type thePosition,
81 const XPath& theMatchPattern,
83 eMatchScore thePriority) :
84 m_template(&theTemplate),
85 m_position(thePosition),
86 m_targetString(theTargetString, theManager),
87 m_matchPattern(&theMatchPattern),
88 m_pattern(&thePatternString),
89 m_priority(thePriority)
105 return m_targetString;
116 return m_matchPattern;
159 getPriorityOrDefault()
const;
168 size_type m_position;
172 const XPath* m_matchPattern;
176 eMatchScore m_priority;
181 XALAN_CPP_NAMESPACE_END
185 #endif // XALAN_MATCHPATTERNDATA_HEADER_GUARD
const ElemTemplate * getTemplate() const
Retrieve node that contains the template for this pattern.
This class contains information concerning a match pattern in a stylesheet.
const XalanDOMString & getTargetString() const
Retrieve string for target.
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.
XPath::eMatchScore eMatchScore
const XPath * getExpression() const
Retrieve the match pattern associated with pattern.
eMatchScore getDefaultPriority() const
XALAN_CPP_NAMESPACE_BEGIN typedef size_t size_type
const XalanDOMString * getPattern() const
Retrieve pattern string.
size_type getPosition() const
Retrieve position of pattern in stylesheet.
#define XALAN_XSLT_EXPORT