org.oreodata.metadata
Class DataSourceMetadata

java.lang.Object
  |
  +--java.util.Dictionary
        |
        +--java.util.Hashtable
              |
              +--java.util.Properties
                    |
                    +--org.oreodata.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 an OreoDataSource object -- it bridges the W3C DOM with our DataSource descriptions in XML format.

Author:
Jonathan Revusky
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.Properties
defaults
 
Constructor Summary
DataSourceMetadata()
           
 
Method Summary
 boolean equals(java.lang.Object o)
          Checks for equality with another object.
 OreoDataSource 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
 

Constructor Detail

DataSourceMetadata

public DataSourceMetadata()
Method Detail

init

public void init(org.w3c.dom.Element elem,
                 java.lang.ClassLoader cloader)
          throws org.xml.sax.SAXException
org.xml.sax.SAXException

getInstance

public OreoDataSource getInstance()
                           throws java.io.IOException
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.

Specified by:
equals in interface java.util.Map
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