com.niggle.data.metadata
Class DataSourceMetadata
java.lang.Object
|
+--java.util.Dictionary
|
+--java.util.Hashtable
|
+--java.util.Properties
|
+--com.niggle.data.metadata.DataSourceMetadata
- All Implemented Interfaces:
- java.lang.Cloneable, java.util.Map, java.io.Serializable
- public class DataSourceMetadata
- extends java.util.Properties
An object that provides metadata about how to instantiate
a DataSource object -- it bridges the W3C DOM with our
DataSource descriptions in XML format.
- Author:
- Jonathan Revusky
- See Also:
- Serialized Form
Inner classes inherited from class java.util.Map |
java.util.Map.Entry |
Fields inherited from class java.util.Properties |
defaults |
Method Summary |
boolean |
equals(java.lang.Object o)
Checks for equality with another object. |
DataSource |
getInstance()
|
java.lang.String |
getName()
|
void |
init(org.w3c.dom.Element elem,
java.lang.ClassLoader cloader)
|
boolean |
isRemote()
|
boolean |
preloads()
|
java.lang.String |
toString()
outputs the key:value pairs that make up this metadata object. |
Methods inherited from class java.util.Properties |
getProperty, getProperty, list, list, load, propertyNames, save, setProperty, store |
Methods inherited from class java.util.Hashtable |
clear, clone, contains, containsKey, containsValue, elements, entrySet, get, hashCode, isEmpty, keys, keySet, put, putAll, rehash, remove, size, values |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
init
public void init(org.w3c.dom.Element elem,
java.lang.ClassLoader cloader)
throws org.xml.sax.SAXException
getInstance
public DataSource getInstance()
throws java.io.IOException
getName
public java.lang.String getName()
preloads
public boolean preloads()
isRemote
public boolean isRemote()
equals
public boolean equals(java.lang.Object o)
- Checks for equality with another object.
- Overrides:
equals
in class java.util.Hashtable
toString
public java.lang.String toString()
- outputs the key:value pairs that make up this metadata object.
- Overrides:
toString
in class java.util.Hashtable