Top Description Fields Constructors Methods
test

public Class TestStreamCopier

extends Object
Class Inheritance
Imports
java.io.*, java.util.zip.GZIPInputStream, javax.xml.stream.*, org.codehaus.stax2.*, org.codehaus.stax2.validation.*

Simple test driver for testing pass-through copying using new StAX2 methods.

Field Summary

Modifier and TypeField and Description
pack-priv static final boolean

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
protected XMLInputFactory2
protected XMLOutputFactory2
public static void
main(String[] args)

protected void
test(String input, OutputStream out)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

ENABLE_DTD_VALIDATIONback to summary
pack-priv static final boolean ENABLE_DTD_VALIDATION

Constructor Detail

TestStreamCopierback to summary
protected TestStreamCopier()

Method Detail

getFactoryback to summary
protected XMLInputFactory2 getFactory()
getOutputFactoryback to summary
protected XMLOutputFactory2 getOutputFactory()
mainback to summary
public static void main(String[] args) throws Exception
testback to summary
protected void test(String input, OutputStream out) throws Exception