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 |
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.
|
public 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 PropertyDocumentCopyright © 2014–2015 Wikidata Toolkit Developers. Generated from source code published under the Apache License 2.0. For more information, see the Wikidata Toolkit homepage