-
- 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()The child filters final IntegergetId()ParseFiltergetParent()The parent filter UnitsetParent(ParseFilter parent)The parent filter 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()
The child filters
-
getParent
ParseFilter getParent()
The parent filter
-
setParent
Unit setParent(ParseFilter parent)
The parent filter
-
getParentId
Integer getParentId()
-
-
-
-