Class 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 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