Class AbstractOnMatchFilter

  • All Implemented Interfaces:
    IOnMatchFilter

    @Deprecated
    public abstract class AbstractOnMatchFilter
    extends Object
    implements IOnMatchFilter
    Deprecated.
    Since 3.0.0, use composition with OnMatch instead
    Convenience base class for implementing filters offering the include/exclude "onmatch" option. Default behavior on match is to include.
    Author:
    Pascal Essiembre
    • Constructor Detail

      • AbstractOnMatchFilter

        public AbstractOnMatchFilter()
        Deprecated.
    • Method Detail

      • getOnMatch

        public OnMatch getOnMatch()
        Deprecated.
        Description copied from interface: IOnMatchFilter
        Gets the the on match action (exclude or include).
        Specified by:
        getOnMatch in interface IOnMatchFilter
        Returns:
        on match (exclude or include)
      • setOnMatch

        public final void setOnMatch​(OnMatch onMatch)
        Deprecated.
      • loadOnMatchFromXML

        protected final void loadOnMatchFromXML​(XML xml)
        Deprecated.
        Convenience method for subclasses to load the "onMatch" attribute from an XML file when XML is used.
        Parameters:
        xml - XML configuration
      • saveOnMatchToXML

        protected void saveOnMatchToXML​(XML xml)
        Deprecated.
        Convenience method for subclasses to save the "onMatch" attribute to an XML file when XML is used.
        Parameters:
        xml - the XML
      • equals

        public boolean equals​(Object other)
        Deprecated.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Deprecated.
        Overrides:
        hashCode in class Object