org.apache.stanbol.reasoners.web.input.provider.impl
Class RecipeInputProvider

java.lang.Object
  extended by org.apache.stanbol.reasoners.web.input.provider.impl.RecipeInputProvider
All Implemented Interfaces:
ReasoningServiceInputProvider

public class RecipeInputProvider
extends java.lang.Object
implements ReasoningServiceInputProvider

Input provider which binds the reasoners input to the Rule module. TODO Waiting for STANBOL-186, this provider only supports OWLApi reasoning services.

Author:
enridaga

Constructor Summary
RecipeInputProvider(RuleStore store, java.lang.String recipeId)
          Constructor
 
Method Summary
<T> boolean
adaptTo(java.lang.Class<T> type)
           
<T> java.util.Iterator<T>
getInput(java.lang.Class<T> type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RecipeInputProvider

public RecipeInputProvider(RuleStore store,
                           java.lang.String recipeId)
Constructor

Parameters:
store -
recipeId -
Method Detail

getInput

public <T> java.util.Iterator<T> getInput(java.lang.Class<T> type)
                               throws java.io.IOException
Specified by:
getInput in interface ReasoningServiceInputProvider
Throws:
java.io.IOException

adaptTo

public <T> boolean adaptTo(java.lang.Class<T> type)
Specified by:
adaptTo in interface ReasoningServiceInputProvider


Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.