org.openrdf.repository.contextaware.config
Class ContextAwareConfig

java.lang.Object
  extended by org.openrdf.repository.config.RepositoryImplConfigBase
      extended by org.openrdf.repository.config.DelegatingRepositoryImplConfigBase
          extended by org.openrdf.repository.contextaware.config.ContextAwareConfig
All Implemented Interfaces:
DelegatingRepositoryImplConfig, RepositoryImplConfig

public class ContextAwareConfig
extends DelegatingRepositoryImplConfigBase

Author:
James Leigh

Constructor Summary
ContextAwareConfig()
           
 
Method Summary
 Resource export(Graph graph)
           
 URI[] getAddContexts()
          Deprecated. 
 URI[] getArchiveContexts()
          Deprecated. 
 String getBaseURI()
           
 URI getInsertContext()
           
 int getMaxQueryTime()
           
 QueryLanguage getQueryLanguage()
           
 URI[] getReadContexts()
           
 URI[] getRemoveContexts()
           
 boolean isIncludeInferred()
           
 void parse(Graph graph, Resource implNode)
           
 void setAddContexts(URI... addContexts)
          Deprecated. 
 void setArchiveContexts(URI... archiveContexts)
          Deprecated. 
 void setBaseURI(String baseURI)
           
 void setIncludeInferred(boolean includeInferred)
           
 void setInsertContext(URI insertContext)
           
 void setMaxQueryTime(int maxQueryTime)
           
 void setQueryLanguage(QueryLanguage ql)
           
 void setReadContexts(URI... readContexts)
           
 void setRemoveContexts(URI... removeContexts)
           
 
Methods inherited from class org.openrdf.repository.config.DelegatingRepositoryImplConfigBase
getDelegate, setDelegate, validate
 
Methods inherited from class org.openrdf.repository.config.RepositoryImplConfigBase
create, getType, setType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.openrdf.repository.config.RepositoryImplConfig
getType
 

Constructor Detail

ContextAwareConfig

public ContextAwareConfig()
Method Detail

getMaxQueryTime

public int getMaxQueryTime()

setMaxQueryTime

public void setMaxQueryTime(int maxQueryTime)

getAddContexts

@Deprecated
public URI[] getAddContexts()
Deprecated. 

See Also:
ContextAwareConnection.getAddContexts()

getArchiveContexts

@Deprecated
public URI[] getArchiveContexts()
Deprecated. 

See Also:
ContextAwareConnection.getArchiveContexts()

getInsertContext

public URI getInsertContext()
See Also:
ContextAwareConnection.getInsertContext()

getQueryLanguage

public QueryLanguage getQueryLanguage()
See Also:
ContextAwareConnection.getQueryLanguage()

getBaseURI

public String getBaseURI()
Returns:
Returns the default baseURI.

getReadContexts

public URI[] getReadContexts()
See Also:
ContextAwareConnection.getReadContexts()

getRemoveContexts

public URI[] getRemoveContexts()
See Also:
ContextAwareConnection.getRemoveContexts()

isIncludeInferred

public boolean isIncludeInferred()
See Also:
ContextAwareConnection.isIncludeInferred()

setAddContexts

@Deprecated
public void setAddContexts(URI... addContexts)
Deprecated. 

See Also:
ContextAwareConnection.setAddContexts(URI[])

setArchiveContexts

@Deprecated
public void setArchiveContexts(URI... archiveContexts)
Deprecated. 

See Also:
ContextAwareConnection.setArchiveContexts(URI[])

setInsertContext

public void setInsertContext(URI insertContext)
See Also:
ContextAwareConnection.setInsertContext(URI)

setIncludeInferred

public void setIncludeInferred(boolean includeInferred)
See Also:
ContextAwareConnection.setIncludeInferred(boolean)

setQueryLanguage

public void setQueryLanguage(QueryLanguage ql)
See Also:
ContextAwareConnection.setQueryLanguage(QueryLanguage)

setBaseURI

public void setBaseURI(String baseURI)
Parameters:
baseURI - The default baseURI to set.

setReadContexts

public void setReadContexts(URI... readContexts)
See Also:
ContextAwareConnection.setReadContexts(URI[])

setRemoveContexts

public void setRemoveContexts(URI... removeContexts)
See Also:
ContextAwareConnection.setRemoveContexts(URI[])

export

public Resource export(Graph graph)
Specified by:
export in interface RepositoryImplConfig
Overrides:
export in class DelegatingRepositoryImplConfigBase

parse

public void parse(Graph graph,
                  Resource implNode)
           throws RepositoryConfigException
Specified by:
parse in interface RepositoryImplConfig
Overrides:
parse in class DelegatingRepositoryImplConfigBase
Throws:
RepositoryConfigException


Copyright © 2001-2012 Aduna. All Rights Reserved.