com.sun.japex.jdsl.xml.serialize.stax
Class BaseStAXDriver
java.lang.Object
com.sun.japex.JapexDriverBase
com.sun.japex.jdsl.xml.BaseParserDriver
com.sun.japex.jdsl.xml.serialize.stax.BaseStAXDriver
- All Implemented Interfaces:
- JapexDriver, Params, java.util.concurrent.Callable<java.lang.Object>
- Direct Known Subclasses:
- SunSJSXPStAXDriver
public abstract class BaseStAXDriver
- extends BaseParserDriver
This class uses an XMLStreamBuffer to read the input
document into memory and then write to an XMLStreamWriter.
A subclass should only need to override method
initializeDriver in order to instantiate the appropriate
output factory.
- Author:
- Santiago.PericasGeertsen@sun.com
| Methods inherited from class com.sun.japex.JapexDriverBase |
call, finish, getBooleanParam, getDoubleParam, getIntParam, getLongParam, getParam, getTestSuite, hasParam, prepare, run, setBooleanParam, setDoubleParam, setDriver, setEndTime, setIntParam, setLongParam, setParam, setTestCase, setTestSuite, terminateDriver, warmup, warmup |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_xmlInputFactory
protected javax.xml.stream.XMLInputFactory _xmlInputFactory
_xmlOutputFactory
protected javax.xml.stream.XMLOutputFactory _xmlOutputFactory
_xmlStreamBuffer
protected com.sun.xml.stream.buffer.XMLStreamBuffer _xmlStreamBuffer
_outputStream
protected java.io.ByteArrayOutputStream _outputStream
_encoding
protected java.lang.String _encoding
BaseStAXDriver
public BaseStAXDriver()
initializeDriver
public void initializeDriver()
- Specified by:
initializeDriver in interface JapexDriver- Overrides:
initializeDriver in class JapexDriverBase
prepare
public void prepare(TestCase testCase)
- Specified by:
prepare in interface JapexDriver- Overrides:
prepare in class BaseParserDriver
run
public void run(TestCase testCase)
- Specified by:
run in interface JapexDriver- Overrides:
run in class JapexDriverBase
Copyright © 2011. All Rights Reserved.