Package test

Class TestStreamReader

  • All Implemented Interfaces:
    javax.xml.stream.XMLStreamConstants

    public class TestStreamReader
    extends java.lang.Object
    implements javax.xml.stream.XMLStreamConstants
    Simple helper test class for checking how stream reader handles xml documents.
    • Field Summary

      • Fields inherited from interface javax.xml.stream.XMLStreamConstants

        ATTRIBUTE, CDATA, CHARACTERS, COMMENT, DTD, END_DOCUMENT, END_ELEMENT, ENTITY_DECLARATION, ENTITY_REFERENCE, NAMESPACE, NOTATION_DECLARATION, PROCESSING_INSTRUCTION, SPACE, START_DOCUMENT, START_ELEMENT
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected TestStreamReader()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected javax.xml.stream.XMLInputFactory getFactory()  
      static void main​(java.lang.String[] args)  
      protected int test​(java.io.File file)  
      • Methods inherited from class java.lang.Object

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

      • TestStreamReader

        protected TestStreamReader()
    • Method Detail

      • getFactory

        protected javax.xml.stream.XMLInputFactory getFactory()
      • test

        protected int test​(java.io.File file)
                    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