public class EntityDocumentProcessorBroker extends Object implements EntityDocumentProcessor
EntityDocumentProcessor which
distributes entity documents to multiple registered listeners.| Constructor and Description |
|---|
EntityDocumentProcessorBroker() |
| 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.
|
void |
registerEntityDocumentProcessor(EntityDocumentProcessor entityDocumentProcessor)
Registers a listener which will be called for all entity documents that
are processed.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprocessEntityRedirectDocument, processMediaInfoDocumentpublic void registerEntityDocumentProcessor(EntityDocumentProcessor entityDocumentProcessor)
entityDocumentProcessor - the listener to registerpublic 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