org.jboss.shotoku.search
Class BooleanNodeFilter

java.lang.Object
  extended by org.jboss.shotoku.search.NodeFilter
      extended by org.jboss.shotoku.search.BooleanNodeFilter
All Implemented Interfaces:
SearchParameter
Direct Known Subclasses:
MultiBooleanNodeFilter, PropertyValueParameter

public abstract class BooleanNodeFilter
extends NodeFilter

Author:
Adam Warski (adamw@aster.pl)

Constructor Summary
BooleanNodeFilter()
           
 
Method Summary
 Node filterNode(Node node)
          Filters the given node.
abstract  boolean qualifyNode(Node node)
           
 
Methods inherited from class org.jboss.shotoku.search.NodeFilter
transform
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BooleanNodeFilter

public BooleanNodeFilter()
Method Detail

qualifyNode

public abstract boolean qualifyNode(Node node)

filterNode

public final Node filterNode(Node node)
Description copied from class: NodeFilter
Filters the given node.

Specified by:
filterNode in class NodeFilter
Parameters:
node - Node to filter.
Returns:
A node that should be included in the final result or null, if the nothing is to be included.


Copyright © -2006 . All Rights Reserved.