Interface IBinaryXMLFileParser

All Known Implementing Classes:
AbstractBinaryXMLFileParser, AXML20Parser

public interface IBinaryXMLFileParser
Common interface for all methods capable of parsing binary Android XML files
Author:
Steven Arzt
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the Android XML document.
    Returns a list containing all nodes of the xml document which have the given tag.
    void
    parseFile(byte[] buffer)
    Parses the binary XML file with the AXMLPrinter2 library
  • Method Details

    • parseFile

      void parseFile(byte[] buffer) throws IOException
      Parses the binary XML file with the AXMLPrinter2 library
      Parameters:
      buffer - The buffer to be parsed
      Throws:
      IOException - if an I/O error occurs.
    • getDocument

      AXmlDocument getDocument()
      Returns the Android XML document.
      Returns:
      the Android XML document
    • getNodesWithTag

      List<AXmlNode> getNodesWithTag(String tag)
      Returns a list containing all nodes of the xml document which have the given tag.
      Parameters:
      tag - the tag being search for
      Returns:
      list pointing on all nodes which have the given tag.