|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.exist.util.Configuration
Description of the Class
Field Summary | |
protected javax.xml.parsers.DocumentBuilder |
builder
|
protected java.util.HashMap |
config
|
protected java.lang.String |
file
|
Constructor Summary | |
Configuration(java.lang.String file)
Constructor for the Configuration object |
|
Configuration(java.lang.String file,
java.lang.String dbHome)
Constructor for the Configuration object |
Method Summary | |
void |
error(org.xml.sax.SAXParseException exception)
|
void |
fatalError(org.xml.sax.SAXParseException exception)
|
int |
getInteger(java.lang.String name)
Gets the integer attribute of the Configuration object |
java.lang.String |
getPath()
Gets the path attribute of the Configuration object |
java.lang.Object |
getProperty(java.lang.String name)
Gets the property attribute of the Configuration object |
boolean |
hasProperty(java.lang.String name)
Description of the Method |
void |
setProperty(java.lang.String name,
java.lang.Object obj)
Sets the property attribute of the Configuration object |
void |
warning(org.xml.sax.SAXParseException exception)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected javax.xml.parsers.DocumentBuilder builder
protected java.util.HashMap config
protected java.lang.String file
Constructor Detail |
public Configuration(java.lang.String file) throws DatabaseConfigurationException
file
- Description of the Parameter
DatabaseConfigurationException
- Description of the Exceptionpublic Configuration(java.lang.String file, java.lang.String dbHome) throws DatabaseConfigurationException
file
- Description of the ParameterdbHome
- Description of the Parameter
DatabaseConfigurationException
- Description of the ExceptionMethod Detail |
public int getInteger(java.lang.String name)
name
- Description of the Parameter
public java.lang.String getPath()
public java.lang.Object getProperty(java.lang.String name)
name
- Description of the Parameter
public boolean hasProperty(java.lang.String name)
name
- Description of the Parameter
public void setProperty(java.lang.String name, java.lang.Object obj)
name
- The new property valueobj
- The new property valuepublic void error(org.xml.sax.SAXParseException exception) throws org.xml.sax.SAXException
error
in interface org.xml.sax.ErrorHandler
org.xml.sax.SAXException
public void fatalError(org.xml.sax.SAXParseException exception) throws org.xml.sax.SAXException
fatalError
in interface org.xml.sax.ErrorHandler
org.xml.sax.SAXException
public void warning(org.xml.sax.SAXParseException exception) throws org.xml.sax.SAXException
warning
in interface org.xml.sax.ErrorHandler
org.xml.sax.SAXException
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |