org.openrdf.repository.http.config
Class HTTPRepositoryConfig

java.lang.Object
  extended by org.openrdf.repository.config.RepositoryImplConfigBase
      extended by org.openrdf.repository.http.config.HTTPRepositoryConfig
All Implemented Interfaces:
RepositoryImplConfig

public class HTTPRepositoryConfig
extends RepositoryImplConfigBase

Author:
Arjohn Kampman

Constructor Summary
HTTPRepositoryConfig()
           
HTTPRepositoryConfig(String url)
           
 
Method Summary
 Resource export(Graph graph)
           
 String getPassword()
           
 String getURL()
           
 String getUsername()
           
 void parse(Graph graph, Resource implNode)
           
 void setPassword(String password)
           
 void setURL(String url)
           
 void setUsername(String username)
           
 void validate()
          Validates this configuration.
 
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
 

Constructor Detail

HTTPRepositoryConfig

public HTTPRepositoryConfig()

HTTPRepositoryConfig

public HTTPRepositoryConfig(String url)
Method Detail

getURL

public String getURL()

setURL

public void setURL(String url)

getUsername

public String getUsername()

setUsername

public void setUsername(String username)

getPassword

public String getPassword()

setPassword

public void setPassword(String password)

validate

public void validate()
              throws RepositoryConfigException
Description copied from interface: RepositoryImplConfig
Validates this configuration. A RepositoryConfigException is thrown when the configuration is invalid. The exception should contain an error message that indicates why the configuration is invalid.

Specified by:
validate in interface RepositoryImplConfig
Overrides:
validate in class RepositoryImplConfigBase
Throws:
RepositoryConfigException - If the configuration is invalid.

export

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

parse

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


Copyright © 2001-2008 Aduna. All Rights Reserved.