|
Devsphere.com |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--com.devsphere.xml.benchmark.MainBase
|
+--com.devsphere.xml.benchmark.Main1
This is the main class that tests the SAX 1.0 and DOM Level 1 parsing and also their mix.
Command Line Syntax:
java <command> <recordCount> <threadCount> [-n] [-v]
Arguments:
Valid Commands:
MainBase,
SDXOldBuilder,
SDXOldController| Field Summary |
| Fields inherited from class com.devsphere.xml.benchmark.MainBase |
command, garbage, namespaces, recordCount, RUNTIME, threadCount, validation |
| Constructor Summary | |
protected |
Main1(java.lang.String[] args)
Does the initialization |
| Method Summary | |
static void |
main(java.lang.String[] args)
The main method of the application |
protected void |
parseWithDOM(java.io.InputStream in)
Parses an XML database with DOM Level 1 |
protected void |
parseWithSAX(java.io.InputStream in)
Parses an XML database with SAX 1.0 |
protected void |
parseWithSAXDOMIX(java.io.InputStream in)
Parses an XML database with SAXDOMIX |
| Methods inherited from class com.devsphere.xml.benchmark.MainBase |
cacheFile, createDatabase, done, getDocumentBuilder, getSAXParser, main, parseDatabase, parseDatabase, parseDatabaseMultithreading |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
protected Main1(java.lang.String[] args)
| Method Detail |
public static void main(java.lang.String[] args)
throws java.lang.Exception
java.lang.Exception
protected void parseWithSAX(java.io.InputStream in)
throws java.io.IOException,
org.xml.sax.SAXException,
javax.xml.parsers.ParserConfigurationException
parseWithSAX in class MainBasejava.io.IOException
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException
protected void parseWithSAXDOMIX(java.io.InputStream in)
throws java.io.IOException,
org.xml.sax.SAXException,
javax.xml.parsers.ParserConfigurationException
parseWithSAXDOMIX in class MainBasejava.io.IOException
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException
protected void parseWithDOM(java.io.InputStream in)
throws java.io.IOException,
org.xml.sax.SAXException,
javax.xml.parsers.ParserConfigurationException
parseWithDOM in class MainBasejava.io.IOException
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException
|
Devsphere.com |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||