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 TypeMethodDescriptionReturns the Android XML document.getNodesWithTag(String tag) Returns a list containing all nodes of the xml document which have the given tag.voidparseFile(byte[] buffer) Parses the binary XML file with the AXMLPrinter2 library
-
Method Details
-
parseFile
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
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.
-