Class AXmlDocument
java.lang.Object
soot.jimple.infoflow.android.axml.AXmlDocument
Class representing a document in the Android XML format
- Author:
- Steven Arzt
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds a namespace that is defined in this node.Gets all namespaces registered in this documentGets the root node of this Android XML documentvoidsetRootNode(AXmlNode rootNode) Sets the root node of this document
-
Constructor Details
-
AXmlDocument
public AXmlDocument()
-
-
Method Details
-
getRootNode
Gets the root node of this Android XML document- Returns:
- The root node of this Android XML document
-
setRootNode
Sets the root node of this document- Parameters:
rootNode- The new root node of this document
-
addNamespace
Adds a namespace that is defined in this node.- Parameters:
ns- The namespace defined in this node.
-
getNamespaces
Gets all namespaces registered in this document- Returns:
- A collection of all namespaces registered in this document
-