dk.apaq.vfs.filters
Class OrFilter

java.lang.Object
  extended by dk.apaq.vfs.filters.OrFilter
All Implemented Interfaces:
NodeFilter, Serializable

public class OrFilter
extends Object
implements NodeFilter

Author:
mzk
See Also:
Serialized Form

Constructor Summary
OrFilter(NodeFilter... filters)
           
 
Method Summary
 boolean accept(Node node)
          Called to check if the filter accepts the node.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OrFilter

public OrFilter(NodeFilter... filters)
Method Detail

accept

public boolean accept(Node node)
Description copied from interface: NodeFilter
Called to check if the filter accepts the node.

Specified by:
accept in interface NodeFilter
Parameters:
node - The node to perform the check on.
Returns:
True/False wether the filter accepts it or not.


Copyright © 2011. All Rights Reserved.