|
Unicorn XML Toolkit Version 1.00.00 |
|||||||||
� PREV CLASS �� NEXT CLASS | FRAMES��NO FRAMES | |||||||||
SUMMARY: � CONSTR �|� FUNCTION �|�DATA | DETAIL: � CONSTR �|� FUNCTION �|�DATA |
class CPatternHandler: public CInterface { public: CPatternHandler(); virtual ~CPatternHandler(); public: virtual bool Match(const XNode &pNode) = 0; virtual bool Match(const XNode &pNode, double &dblPriority) = 0; };
The abstract interface to XSLT patterns.
Implementation of the interface defined by this class is supplied by the toolkit; application developers do not need to implement this interface.
Dom::INode
Constructor/Destructor Summary | |
CPatternHandler
();
����������Constructs the pattern handler. |
|
~CPatternHandler
();
����������Destroys the pattern handler. |
Function Summary | |
bool
|
Match
(const XNode &pNode);
����������Matches the XDM node against this pattern. |
bool
|
Match
(const XNode &pNode, double &dblPriority);
����������Matches the XDM node against this pattern, returns the effective pattern priority. |
Constructor/Destructor Detail |
CPatternHandler();
Constructs the pattern handler.
virtual ~CPatternHandler();
Destroys the pattern handler.
Function Detail |
virtual bool Match(const XNode &pNode) = 0;
Matches the XDM node against this pattern.
pNode
- the XDM node to matchtrue
if the given node
mathes this pattern;
false
otherwisevirtual bool Match(const XNode &pNode, double &dblPriority) = 0;
Matches the XDM node against this pattern, returns the effective pattern priority.
The effective priority is defined as
the maximum priority among all
location path patterns (that is, parts of this pattern conforming to the
LocationPartPattern
syntax defined in
XSLT) that match the given node.
pNode
- the XDM node to matchdblPriority
- on return, the effective priority;
unspecified if match failedtrue
if the given node
mathes this pattern;
false
otherwise
|
Unicorn XML Toolkit Version 1.00.00 |
|||||||||
� PREV CLASS �� NEXT CLASS | FRAMES��NO FRAMES | |||||||||
SUMMARY: � CONSTR �|� FUNCTION �|�DATA | DETAIL: � CONSTR �|� FUNCTION �|�DATA |