public static interface NodeCacheIterator.NodeFilter
Modifier and Type | Method and Description |
---|---|
boolean |
continueProcessingChildren(CachedNode node,
NodeCache cache)
Determine if for a given node that isn't included by
includeNode(CachedNode, NodeCache) , its children
should be processed or not. |
boolean |
includeNode(CachedNode node,
NodeCache cache)
Determine if the supplied node is to be included in the iterator.
|
boolean includeNode(CachedNode node, NodeCache cache)
continueProcessingChildren(CachedNode, NodeCache)
method to determine if any of the children of the node should be processed.
By default, this method always returns true.node
- the node; never nullcache
- the node cache; never nullboolean continueProcessingChildren(CachedNode node, NodeCache cache)
includeNode(CachedNode, NodeCache)
, its children
should be processed or not.true
if any children of an excluded node should be taken into account, false
otherwise.Copyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.