java.lang.Object | ||
↳ | com.pnfsoftware.jeb.core.units.code.android.XmlResourceHelper | |
↳ | com.pnfsoftware.jeb.core.units.code.android.ApkXmlResourceHelper |
Known Direct Subclasses |
This helper class facilitates access to the data contained in an Android XML resource. In particular, the
readAttributeXxx
methods allow easy retrieval of attribute values by tag names, throughout
the entire document.
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
protected String | attrPrefix |
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.pnfsoftware.jeb.core.units.code.android.XmlResourceHelper
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
ApkXmlResourceHelper(IXmlUnit xml)
Create a manifest helper around the provided manifest unit.
| |||||||||||
ApkXmlResourceHelper(Document doc)
Create a manifest helper around the provided low-level XML document object.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | buildAttributeName(String name) | ||||||||||
void |
prepare(Document doc)
This implementation calls
super and sets the optional attrPrefix attribute
that will be auto-appended to simple attribute names. |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.pnfsoftware.jeb.core.units.code.android.XmlResourceHelper
| |||||||||||
From class
java.lang.Object
|
Create a manifest helper around the provided manifest unit.
Create a manifest helper around the provided low-level XML document object.
This implementation calls super
and sets the optional attrPrefix
attribute
that will be auto-appended to simple attribute names. The buildAttributeName(String)
method is also overridden to use that prefix.