soot.jimple.infoflow.android.axml.parsers.IBinaryXMLFileParser Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of soot-infoflow-android Show documentation
Show all versions of soot-infoflow-android Show documentation
Android-specific components of FlowDroid
package soot.jimple.infoflow.android.axml.parsers;
import java.io.IOException;
import java.util.List;
import soot.jimple.infoflow.android.axml.AXmlDocument;
import soot.jimple.infoflow.android.axml.AXmlNode;
/**
* Common interface for all methods capable of parsing binary Android XML files
*
* @author Steven Arzt
*/
public interface IBinaryXMLFileParser {
/**
* Parses the binary XML file with the AXMLPrinter2 library
* @param buffer The buffer to be parsed
* @throws IOException if an I/O error occurs.
*/
public void parseFile(byte[] buffer) throws IOException;
/**
* Returns the Android XML document.
*
* @return the Android XML document
*/
public AXmlDocument getDocument();
/**
* Returns a list containing all nodes of the xml document which have the given tag.
*
* @param tag the tag being search for
* @return list pointing on all nodes which have the given tag.
*/
public List getNodesWithTag(String tag);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy