Class XmlToTxt

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.StringBuffer buf
      Buffer that stores all content that is encountered.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected XmlToTxt()
      Creates an instance of XML to TXT.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void endDocument()
      Called after the document is parsed.
      void endElement​(java.lang.String tag)
      Called when an end tag is found.
      static java.lang.String parse​(java.io.InputStream is)
      Static method that parses an XML InputStream.
      void startDocument()
      Called when the document starts to be parsed.
      void startElement​(java.lang.String tag, java.util.Map<java.lang.String,​java.lang.String> h)
      Called when a start tag is found.
      void text​(java.lang.String str)
      Called when a text element is found.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait