public class EntityDocumentProcessorFilter extends Object implements EntityDocumentProcessor
EntityDocumentProcessor that acts as a filter,
removing some of the data from EntityDocument objects before passing
them on to another processor. There is an overhead involved in using this,
even if no filters are set, since a deep copy of the data is created to
filter it.| Constructor and Description |
|---|
EntityDocumentProcessorFilter(EntityDocumentProcessor entityDocumentProcessor,
DocumentDataFilter filter)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
processItemDocument(ItemDocument itemDocument)
Processes the given ItemDocument.
|
void |
processLexemeDocument(LexemeDocument lexemeDocument)
Processes the given LexemeDocument.
|
void |
processPropertyDocument(PropertyDocument propertyDocument)
Processes the given PropertyDocument.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprocessEntityRedirectDocument, processMediaInfoDocumentpublic EntityDocumentProcessorFilter(EntityDocumentProcessor entityDocumentProcessor, DocumentDataFilter filter)
entityDocumentProcessor - the processor to use on the filtered datafilter - the filter settings to be usedpublic void processItemDocument(ItemDocument itemDocument)
EntityDocumentProcessorprocessItemDocument in interface EntityDocumentProcessoritemDocument - the ItemDocumentpublic void processPropertyDocument(PropertyDocument propertyDocument)
EntityDocumentProcessorprocessPropertyDocument in interface EntityDocumentProcessorpropertyDocument - the PropertyDocumentpublic void processLexemeDocument(LexemeDocument lexemeDocument)
EntityDocumentProcessorprocessLexemeDocument in interface EntityDocumentProcessorlexemeDocument - the LexemeDocumentCopyright © 2014–2022 Wikidata Toolkit Developers. Generated from source code published under the Apache License 2.0. For more information, see the Wikidata Toolkit homepage