Package test

Class 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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TestStreamCopier

        protected TestStreamCopier()
    • 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