org.oreodata.metadata
Class MetadataLoader

java.lang.Object
  |
  +--org.oreodata.metadata.MetadataLoader

public abstract class MetadataLoader
extends java.lang.Object


Constructor Summary
MetadataLoader()
           
 
Method Summary
static org.w3c.dom.Document getDOM(java.lang.String filename, java.lang.ClassLoader cl)
           
static void loadDataSources(DataRegistry registry, java.lang.String filename)
           
static void loadDataSources(DataRegistry registry, java.lang.String filename, java.lang.ClassLoader cl)
           
static void loadRecordMetadata(DataRegistry registry, java.lang.String filename)
           
static void loadRecordMetadata(DataRegistry registry, java.lang.String filename, java.lang.ClassLoader cl)
           
static void main(java.lang.String[] args)
          A main method to validate an XML configuration file against its DTD.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MetadataLoader

public MetadataLoader()
Method Detail

loadRecordMetadata

public static void loadRecordMetadata(DataRegistry registry,
                                      java.lang.String filename)
                               throws org.xml.sax.SAXException,
                                      java.io.IOException
org.xml.sax.SAXException
java.io.IOException

loadDataSources

public static void loadDataSources(DataRegistry registry,
                                   java.lang.String filename)
                            throws org.xml.sax.SAXException,
                                   java.io.IOException
org.xml.sax.SAXException
java.io.IOException

loadRecordMetadata

public static void loadRecordMetadata(DataRegistry registry,
                                      java.lang.String filename,
                                      java.lang.ClassLoader cl)
                               throws org.xml.sax.SAXException,
                                      java.io.IOException
org.xml.sax.SAXException
java.io.IOException

loadDataSources

public static void loadDataSources(DataRegistry registry,
                                   java.lang.String filename,
                                   java.lang.ClassLoader cl)
                            throws org.xml.sax.SAXException,
                                   java.io.IOException
org.xml.sax.SAXException
java.io.IOException

getDOM

public static org.w3c.dom.Document getDOM(java.lang.String filename,
                                          java.lang.ClassLoader cl)
                                   throws java.io.IOException,
                                          org.xml.sax.SAXException
java.io.IOException
org.xml.sax.SAXException

main

public static void main(java.lang.String[] args)
A main method to validate an XML configuration file against its DTD.