Interface BigXmlReader.TagListener

Enclosing class:
BigXmlReader

public static interface BigXmlReader.TagListener
  • Method Details

    • onTagStarted

      void onTagStarted(BigXmlReader obj, String fullTagName, String tagName)
      Called when tag starts
      Parameters:
      obj - ref of BigXmlReader,when you want to stop reading a xml,you can call obj.stop()
      fullTagName - full tag name like "root.element.child"
      tagName - local tag name like "child"
    • onTagFinished

      void onTagFinished(BigXmlReader obj, String fullTagName, String tagName, String value, Attributes atts)
      Called when tag ends
      Parameters:
      obj - ref of BigXmlReader,when you want to stop reading a xml,you can call obj.stop()
      fullTagName - full tag name like "root.element.child"
      tagName - local tag name like "child"
      value - value of this tag
      atts - attributes of this tag