Class AbstractNodeFilter

  • All Implemented Interfaces:
    NodeFilter
    Direct Known Subclasses:
    CompositeNodeFilter, ContentClassFilter

    public abstract class AbstractNodeFilter
    extends java.lang.Object
    implements NodeFilter
    A utility base class that simplifies the creation of new node filters. When used in conjunction with the standard node crawler (StandardNodeCrawlerImpl), node filters that extend this base class will automatically have the service registry injected into them and their init operations invoked at the appropriate time.
    Since:
    3.4
    Author:
    Brian
    • Constructor Detail

      • AbstractNodeFilter

        public AbstractNodeFilter()
    • Method Detail

      • init

        public void init()
      • setServiceRegistry

        public void setServiceRegistry​(ServiceRegistry serviceRegistry)