Package test
Class TestStreamCopier
- java.lang.Object
-
- test.TestStreamCopier
-
public class TestStreamCopier extends java.lang.ObjectSimple test driver for testing pass-through copying using new StAX2 methods.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) static booleanENABLE_DTD_VALIDATION
-
Constructor Summary
Constructors Modifier Constructor Description protectedTestStreamCopier()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.codehaus.stax2.XMLInputFactory2getFactory()protected org.codehaus.stax2.XMLOutputFactory2getOutputFactory()static voidmain(java.lang.String[] args)protected voidtest(java.lang.String input, java.io.OutputStream out)
-
-
-
Field Detail
-
ENABLE_DTD_VALIDATION
static final boolean ENABLE_DTD_VALIDATION
- See Also:
- Constant Field Values
-
-
Method Detail
-
getFactory
protected org.codehaus.stax2.XMLInputFactory2 getFactory()
-
getOutputFactory
protected org.codehaus.stax2.XMLOutputFactory2 getOutputFactory()
-
test
protected void test(java.lang.String input, java.io.OutputStream out) throws java.lang.Exception- Throws:
java.lang.Exception
-
main
public static void main(java.lang.String[] args) throws java.lang.Exception- Throws:
java.lang.Exception
-
-