Class AXmlDocument

java.lang.Object
soot.jimple.infoflow.android.axml.AXmlDocument

public class AXmlDocument extends Object
Class representing a document in the Android XML format
Author:
Steven Arzt
  • Constructor Details

    • AXmlDocument

      public AXmlDocument()
  • Method Details

    • getRootNode

      public AXmlNode getRootNode()
      Gets the root node of this Android XML document
      Returns:
      The root node of this Android XML document
    • setRootNode

      public void setRootNode(AXmlNode rootNode)
      Sets the root node of this document
      Parameters:
      rootNode - The new root node of this document
    • addNamespace

      public void addNamespace(AXmlNamespace ns)
      Adds a namespace that is defined in this node.
      Parameters:
      ns - The namespace defined in this node.
    • getNamespaces

      public Collection<AXmlNamespace> getNamespaces()
      Gets all namespaces registered in this document
      Returns:
      A collection of all namespaces registered in this document