|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.stanbol.reasoners.web.input.impl.SimpleInputManager
public class SimpleInputManager
Simple implementation of ReasoningServiceInputManager.
This class embeds a list of ReasoningServiceInputProviders;
When the getInputData(Class) method is called, it iterates over all
providers which support the given Class as type of the collection item.
| Constructor Summary | |
|---|---|
SimpleInputManager()
Constructor |
|
| Method Summary | ||
|---|---|---|
void |
addInputProvider(ReasoningServiceInputProvider provider)
Adds a ReasoningServiceInputProvider |
|
|
getInputData(java.lang.Class<T> type)
Returns the Iterator which will embed all available data to be processed. |
|
java.util.List<ReasoningServiceInputProvider> |
getProviders()
Get the unmodifiable list of ReasoningServiceInputProvider |
|
void |
removeInputProvider(ReasoningServiceInputProvider provider)
Removes a ReasoningServiceInputProvider |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleInputManager()
| Method Detail |
|---|
public void addInputProvider(ReasoningServiceInputProvider provider)
ReasoningServiceInputProvider
addInputProvider in interface ReasoningServiceInputManagerprovider - public void removeInputProvider(ReasoningServiceInputProvider provider)
ReasoningServiceInputProvider
removeInputProvider in interface ReasoningServiceInputManagerprovider - public <T> java.util.Iterator<T> getInputData(java.lang.Class<T> type)
getInputData in interface ReasoningServiceInputManagertype - public java.util.List<ReasoningServiceInputProvider> getProviders()
ReasoningServiceInputProvider
getProviders in interface ReasoningServiceInputManager
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||