|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectDatabase
public class Database
Top-level element for the opennms-database.xml configuration file.
| Constructor Summary | |
|---|---|
Database()
|
|
| Method Summary | |
|---|---|
Driver |
getDriver()
Returns the value of field 'driver'. |
java.lang.String |
getEngine()
Returns the value of field 'engine'. |
Mapping |
getMapping()
Returns the value of field 'mapping'. |
java.lang.String |
getName()
Returns the value of field 'name'. |
boolean |
isValid()
Method isValid |
void |
marshal(org.xml.sax.ContentHandler handler)
Method marshal |
void |
marshal(java.io.Writer out)
Method marshal |
void |
setDriver(Driver driver)
Sets the value of field 'driver'. |
void |
setEngine(java.lang.String engine)
Sets the value of field 'engine'. |
void |
setMapping(Mapping mapping)
Sets the value of field 'mapping'. |
void |
setName(java.lang.String name)
Sets the value of field 'name'. |
static java.lang.Object |
unmarshal(java.io.Reader reader)
Method unmarshal |
void |
validate()
Method validate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Database()
| Method Detail |
|---|
public Driver getDriver()
public java.lang.String getEngine()
public Mapping getMapping()
public java.lang.String getName()
public boolean isValid()
public void marshal(java.io.Writer out)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
out -
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
public void marshal(org.xml.sax.ContentHandler handler)
throws java.io.IOException,
org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
handler -
java.io.IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationExceptionpublic void setDriver(Driver driver)
driver - the value of field 'driver'.public void setEngine(java.lang.String engine)
engine - the value of field 'engine'.public void setMapping(Mapping mapping)
mapping - the value of field 'mapping'.public void setName(java.lang.String name)
name - the value of field 'name'.
public static java.lang.Object unmarshal(java.io.Reader reader)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
reader -
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
public void validate()
throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||