Class NoFilter

  • All Implemented Interfaces:
    IConfigurationFilter

    class NoFilter
    extends java.lang.Object
    implements IConfigurationFilter
    A no filter, i.e., a filter which includes everything.
    Author:
    Holger Eichelberger
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private NoFilter()
      Prevents external creation.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean include​(IvmlElement element)
      Returns whether a given element shall be included.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • INSTANCE

        public static final IConfigurationFilter INSTANCE
        The singleton instance of this filter.
    • Constructor Detail

      • NoFilter

        private NoFilter()
        Prevents external creation.
    • Method Detail

      • include

        public boolean include​(IvmlElement element)
        Description copied from interface: IConfigurationFilter
        Returns whether a given element shall be included.
        Specified by:
        include in interface IConfigurationFilter
        Parameters:
        element - the element to be tested
        Returns:
        true if element shall be included, false else