org.openrdf.elmo.scutter
Class RetrieverFactory

java.lang.Object
  extended by org.openrdf.elmo.scutter.RetrieverFactory

public class RetrieverFactory
extends Object

This factory class creates and initializes Retriever instances.

Author:
Peter Mika (pmika@cs.vu.nl)

Field Summary
protected static Logger _logger
           
 
Constructor Summary
RetrieverFactory(Repository target, boolean focused)
           
 
Method Summary
 StatementFilter getFilter()
           
 Retriever getRetriever(URL url, Scutter scutter)
           
 Repository getTarget()
           
 boolean isFoafOnly()
           
 boolean isFocused()
           
 void setFilter(StatementFilter filter)
          Set the filter used for determining which statements to add to the repository
 void setFoafOnly(boolean foafOnly)
           
 void setFocused(boolean focused)
           
 void setTarget(Repository target)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_logger

protected static final Logger _logger
Constructor Detail

RetrieverFactory

public RetrieverFactory(Repository target,
                        boolean focused)
Method Detail

getRetriever

public Retriever getRetriever(URL url,
                              Scutter scutter)

isFocused

public boolean isFocused()
Returns:
Returns the focused.

setFocused

public void setFocused(boolean focused)
Parameters:
focused - The focused to set.

getFilter

public StatementFilter getFilter()
Returns:
Returns the filter.

setFilter

public void setFilter(StatementFilter filter)
Set the filter used for determining which statements to add to the repository

Parameters:
filter - Filter to be used

getTarget

public Repository getTarget()
Returns:
Returns the target.

setTarget

public void setTarget(Repository target)
Parameters:
target - The target to set.

isFoafOnly

public boolean isFoafOnly()
Returns:
Returns the foafOnly.

setFoafOnly

public void setFoafOnly(boolean foafOnly)
Parameters:
foafOnly - The foafOnly to set.


Copyright © 2004-2008 Aduna. All Rights Reserved.