Class PluginDefinitionFilter

java.lang.Object
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 Details

    • PluginDefinitionFilter

      public PluginDefinitionFilter()
      Create a new filter.
  • Method Details

    • 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