This can then be used in test cases to compare against a simple string of expected results.
This is useful for testing anything which generates WBSAX events, such as WBSAX filters. @todo this class can be used to replace {@link com.volantis.mcs.wbsax.EnumeratedWBSAXContentHandler} and{@link com.volantis.mcs.wbsax.TestWBSAXContentHandler}as it is easier to use. @todo implement the document, extension and entity methods to make thiscomplete. @todo currently this just outputs a text mode debug output, that is, whenoutputting an object which has a text and code component it only outputs the text part (eg the name of an element rather than the code). In future we might like to extend this class to allow text, binary or combined output.
|
|
|
|
|
|
|
|