Package test

Class RunStreamWriter


  • public class RunStreamWriter
    extends java.lang.Object
    Simple non-automated manual test code for outputting namespace-aware XML documents.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) java.lang.String ENCODING  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private RunStreamWriter()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected javax.xml.stream.XMLOutputFactory getFactory()  
      static void main​(java.lang.String[] args)  
      protected void test()  
      protected void writeContents​(javax.xml.stream.XMLStreamWriter sw)  
      • Methods inherited from class java.lang.Object

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

      • RunStreamWriter

        private RunStreamWriter()
    • Method Detail

      • getFactory

        protected javax.xml.stream.XMLOutputFactory getFactory()
                                                        throws java.lang.Exception
        Throws:
        java.lang.Exception
      • test

        protected void test()
                     throws java.lang.Exception
        Throws:
        java.lang.Exception
      • writeContents

        protected void writeContents​(javax.xml.stream.XMLStreamWriter sw)
                              throws javax.xml.stream.XMLStreamException
        Throws:
        javax.xml.stream.XMLStreamException
      • main

        public static void main​(java.lang.String[] args)
                         throws java.lang.Exception
        Throws:
        java.lang.Exception