|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Thread spec.harness.BenchmarkThread spec.harness.SpecJVMBenchmarkBase spec.benchmarks.xml.XMLBenchmark
public abstract class XMLBenchmark
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.lang.Thread |
---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
Field Summary | |
---|---|
protected javax.xml.parsers.DocumentBuilder |
builder
|
protected ReportingHandler |
callbackReporter
|
protected javax.xml.parsers.DocumentBuilderFactory |
documentBuilderFactory
|
protected javax.xml.parsers.SAXParserFactory |
SAXfactory
|
protected javax.xml.parsers.SAXParser |
saxParser
|
protected org.xml.sax.XMLReader |
xmlParser
|
Fields inherited from class spec.harness.BenchmarkThread |
---|
createValidityCheckFiles |
Fields inherited from class java.lang.Thread |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Fields inherited from interface spec.harness.SpecJVMBenchmark |
---|
FUNCTIONAL, INVALID, MULTI, SINGLE, STRESS |
Constructor Summary | |
---|---|
XMLBenchmark(BenchmarkResult bmResult,
int threadId)
|
Method Summary | |
---|---|
javax.xml.transform.Source |
createDomSource(FileCache.CachedFile cachedInput)
|
javax.xml.transform.Source |
createSaxSource(FileCache.CachedFile cachedInput)
|
static FileCache.CachedFile |
getCachedFile(java.lang.Class cls,
java.lang.String dirName,
java.lang.String name)
|
static java.lang.String |
getFullName(java.lang.Class cls,
java.lang.String dirName,
java.lang.String name)
|
static void |
remove(java.io.File file)
|
Methods inherited from class spec.harness.SpecJVMBenchmarkBase |
---|
runSimple, setupBenchmark, setupIteration, tearDownBenchmark, tearDownIteration, testType |
Methods inherited from class spec.harness.BenchmarkThread |
---|
executeIteration, getArgs, getThreadId, harnessMain, run, runLoop, setInvalidStartupResult, setItResult, setPrintProgress |
Methods inherited from class java.lang.Thread |
---|
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected javax.xml.parsers.DocumentBuilderFactory documentBuilderFactory
protected javax.xml.parsers.SAXParserFactory SAXfactory
protected ReportingHandler callbackReporter
protected javax.xml.parsers.DocumentBuilder builder
protected javax.xml.parsers.SAXParser saxParser
protected org.xml.sax.XMLReader xmlParser
Constructor Detail |
---|
public XMLBenchmark(BenchmarkResult bmResult, int threadId)
Method Detail |
---|
public javax.xml.transform.Source createDomSource(FileCache.CachedFile cachedInput) throws org.xml.sax.SAXException, java.io.IOException
org.xml.sax.SAXException
java.io.IOException
public javax.xml.transform.Source createSaxSource(FileCache.CachedFile cachedInput) throws java.io.IOException
java.io.IOException
public static java.lang.String getFullName(java.lang.Class cls, java.lang.String dirName, java.lang.String name)
public static FileCache.CachedFile getCachedFile(java.lang.Class cls, java.lang.String dirName, java.lang.String name)
public static void remove(java.io.File file)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |