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, wait
processEntityRedirectDocument, processMediaInfoDocument
public void registerEntityDocumentProcessor(EntityDocumentProcessor entityDocumentProcessor)
entityDocumentProcessor
- the listener to registerpublic void processItemDocument(ItemDocument itemDocument)
EntityDocumentProcessor
processItemDocument
in interface EntityDocumentProcessor
itemDocument
- the ItemDocumentpublic void processPropertyDocument(PropertyDocument propertyDocument)
EntityDocumentProcessor
processPropertyDocument
in interface EntityDocumentProcessor
propertyDocument
- the PropertyDocumentpublic void processLexemeDocument(LexemeDocument lexemeDocument)
EntityDocumentProcessor
processLexemeDocument
in interface EntityDocumentProcessor
lexemeDocument
- the LexemeDocumentCopyright © 2014–2024 Wikidata Toolkit Developers. Generated from source code published under the Apache License 2.0. For more information, see the Wikidata Toolkit homepage