net.sf.basedb.util.extensions.xml
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) $
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 |
PluginDefinitionFilter
public PluginDefinitionFilter()
- Create a new filter.
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