3.0.1: 2011-11-10

net.sf.basedb.util.extensions.xml
Class PluginDefinitionFilter

java.lang.Object
  extended by net.sf.basedb.util.extensions.xml.PluginDefinitionFilter
All Implemented Interfaces:
Filter<Element>

public class PluginDefinitionFilter
extends Object
implements Filter<Element>

Filter implementation that only matches tags for plug-in definitions. This filter is useful if the parser is not interested in extensions.

Since:
3.0
Author:
Nicklas
Last modified
$Date: 2011-03-30 11:44:57 +0200 (on, 30 mar 2011) $

Constructor Summary
PluginDefinitionFilter()
          Create a new filter.
 
Method Summary
 boolean evaluate(Element tag)
          Evaluate if the given object should pass the filter or not.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PluginDefinitionFilter

public PluginDefinitionFilter()
Create a new filter.

Method Detail

evaluate

public boolean evaluate(Element tag)
Description copied from interface: Filter
Evaluate if the given object should pass the filter or not.

Specified by:
evaluate in interface Filter<Element>
Parameters:
tag - The object to evaluate
Returns:
TRUE if the object passes the filter, FALSE otherwise

3.0.1: 2011-11-10