Package test
Class TestStreamCopier
- java.lang.Object
-
- test.TestStreamCopier
-
public class TestStreamCopier extends java.lang.Object
Simple test driver for testing pass-through copying using new StAX2 methods.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) static boolean
ENABLE_DTD_VALIDATION
-
Constructor Summary
Constructors Modifier Constructor Description protected
TestStreamCopier()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.codehaus.stax2.XMLInputFactory2
getFactory()
protected org.codehaus.stax2.XMLOutputFactory2
getOutputFactory()
static void
main(java.lang.String[] args)
protected void
test(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
-
-