public class RdfConfiguration extends Object
| Constructor and Description | 
|---|
| RdfConfiguration() | 
| Modifier and Type | Method and Description | 
|---|---|
| Element | createElement(String key,
             String value,
             Document document) | 
| String | getKeyNamespace(String key)Gets the requested value from the key namespace map if it is found,
 otherwise gets the default key namespace. | 
| Map<String,String> | getNamespaces()Gets the namespace map for the configuration. | 
| String | getTypeNamespace(String key)Gets the requested value from the type namespace map if it is found,
 otherwise gets the default type namespace. | 
| void | initialize(File file)Initializes the parameters in the configuration object using values from
 the supplied file. | 
public void initialize(File file) throws IOException
file - the configuration fileIOException - if the file does not exist and cannot be readpublic Map<String,String> getNamespaces()
public String getKeyNamespace(String key)
key - the map key to use for retrieving the namespacepublic String getTypeNamespace(String key)
key - the map key to use for retrieving the namespacepublic Element createElement(String key, String value, Document document)
key - a map key used to search this configuration's mapsvalue - the value for the elementdocument - the document context of the elementCopyright © 1999–2017 Apache OODT. All rights reserved.