org.eclipse.higgins.idas.cp.jena2.impl
Class ContextConfiguration

java.lang.Object
  extended byorg.eclipse.higgins.idas.cp.jena2.impl.ContextConfiguration
All Implemented Interfaces:
IContextConfiguration

public class ContextConfiguration
extends Object
implements IContextConfiguration


Constructor Summary
ContextConfiguration(Properties properties)
           
ContextConfiguration(String cachePath, Properties defaults, Element e)
           
ContextConfiguration(String cachePath, URI contextRef, Properties defaults, Properties properties)
           
 
Method Summary
 String getCachePath()
           
 URI getContextRef()
           
 Properties getProperties()
           
 String getProperty(String key)
           
 String getProperty(String key, String defaultValue)
           
 List getPropertyNames()
           
 void load(Properties defaults, Element e)
           
 void store(Element e)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContextConfiguration

public ContextConfiguration(String cachePath,
                            URI contextRef,
                            Properties defaults,
                            Properties properties)

ContextConfiguration

public ContextConfiguration(Properties properties)

ContextConfiguration

public ContextConfiguration(String cachePath,
                            Properties defaults,
                            Element e)
                     throws Exception
Method Detail

getCachePath

public String getCachePath()
Specified by:
getCachePath in interface IContextConfiguration

getContextRef

public URI getContextRef()
Specified by:
getContextRef in interface IContextConfiguration

getProperties

public Properties getProperties()
Specified by:
getProperties in interface IContextConfiguration

load

public void load(Properties defaults,
                 Element e)
          throws Exception
Specified by:
load in interface IContextConfiguration
Throws:
Exception

store

public void store(Element e)
Specified by:
store in interface IContextConfiguration

getProperty

public String getProperty(String key)
Specified by:
getProperty in interface IContextConfiguration

getPropertyNames

public List getPropertyNames()
Specified by:
getPropertyNames in interface IContextConfiguration

getProperty

public String getProperty(String key,
                          String defaultValue)
Specified by:
getProperty in interface IContextConfiguration