-
- All Implemented Interfaces:
-
ai.platon.pulsar.common.config.Parameterized,ai.platon.pulsar.crawl.parse.ParseFilter,java.lang.AutoCloseable
public final class EmptyParseFilter extends AbstractParseFilter
Extension point for DOM-based parsers. Permits one to add additional metadata to parses provided by the html or tika plugins. All plugins found which implement this extension point are run sequentially on the parse.
-
-
Constructor Summary
Constructors Constructor Description EmptyParseFilter()
-
Method Summary
Modifier and Type Method Description List<ParseFilter>getChildren()final IntegergetId()ParseFiltergetParent()UnitsetParent(ParseFilter parent)IntegergetParentId()BooleangetIsRoot()BooleangetIsLeaf()-
Methods inherited from class ai.platon.pulsar.crawl.parse.EmptyParseFilter
addFirst, addLast, close, filter, initialize, isRelevant, onAfterFilter, onBeforeFilter -
Methods inherited from class ai.platon.pulsar.crawl.parse.ParseFilter
getParams -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getChildren
List<ParseFilter> getChildren()
-
getParent
ParseFilter getParent()
-
setParent
Unit setParent(ParseFilter parent)
-
getParentId
Integer getParentId()
-
-
-
-