Table 15-18 summarizes the methods of available through NodeFilter interface.
Table 15-18 Summary of NodeFilter Methods; Dom Package
Function | Summary |
---|---|
acceptNode
|
Execute it for a given node and use its return value. |
This function is used as a test by NodeIterator and TreeWalker
.
template< typename Node> AcceptNodeCode AcceptNode( NodeRef< Node>& nref);
Parameter | Description |
---|---|
nref |
reference to the node to be tested. |
(AcceptNodeCode)
result returned by the filter function