Class MyXmlWriteApp


  • public class MyXmlWriteApp
    extends java.lang.Object
    An example of an application that uses XmlPull v1 API to write XML.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static java.lang.String NAMESPACE  
    • Constructor Summary

      Constructors 
      Constructor Description
      MyXmlWriteApp()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void main​(java.lang.String[] args)  
      private static void writeLine​(XmlSerializer serializer, java.lang.String line, boolean addNewLine)  
      • Methods inherited from class java.lang.Object

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

      • MyXmlWriteApp

        public MyXmlWriteApp()
    • Method Detail

      • writeLine

        private static void writeLine​(XmlSerializer serializer,
                                      java.lang.String line,
                                      boolean addNewLine)
                               throws java.io.IOException
        Throws:
        java.io.IOException