org.gusdb.wdk.model.implementation
Class ModelXmlParser

java.lang.Object
  extended by org.gusdb.wdk.model.implementation.ModelXmlParser

public class ModelXmlParser
extends java.lang.Object


Constructor Summary
ModelXmlParser()
           
 
Method Summary
static org.w3c.dom.Document buildDocument(java.io.InputStream modelXMLStream)
           
static java.io.InputStream configureModelFile(java.net.URL modelXmlURL, java.net.URL modelPropURL)
          Substitute property values into model xml
static void main(java.lang.String[] args)
           
static WdkModel parseXmlFile(java.net.URL modelXmlURL, java.net.URL modelPropURL, java.net.URL schemaURL, java.net.URL xmlSchemaURL, java.net.URL modelConfigXmlFileURL)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModelXmlParser

public ModelXmlParser()
Method Detail

parseXmlFile

public static WdkModel parseXmlFile(java.net.URL modelXmlURL,
                                    java.net.URL modelPropURL,
                                    java.net.URL schemaURL,
                                    java.net.URL xmlSchemaURL,
                                    java.net.URL modelConfigXmlFileURL)
                             throws WdkModelException
Throws:
WdkModelException

buildDocument

public static org.w3c.dom.Document buildDocument(java.io.InputStream modelXMLStream)
                                          throws javax.xml.parsers.ParserConfigurationException,
                                                 org.xml.sax.SAXException,
                                                 java.io.IOException
Throws:
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException
java.io.IOException

configureModelFile

public static java.io.InputStream configureModelFile(java.net.URL modelXmlURL,
                                                     java.net.URL modelPropURL)
                                              throws WdkModelException
Substitute property values into model xml

Throws:
WdkModelException

main

public static void main(java.lang.String[] args)