org.gusdb.wdk.model.test
Class SanityTestXmlParser
java.lang.Object
org.gusdb.wdk.model.test.SanityTestXmlParser
public class SanityTestXmlParser
- extends java.lang.Object
|
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 SanityModel |
parseXmlFile(java.net.URL modelXmlURL,
java.net.URL modelPropURL,
java.net.URL schemaURL)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SanityTestXmlParser
public SanityTestXmlParser()
parseXmlFile
public static SanityModel parseXmlFile(java.net.URL modelXmlURL,
java.net.URL modelPropURL,
java.net.URL schemaURL)
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)