public class

ApkXmlResourceHelper

extends XmlResourceHelper
java.lang.Object
   ↳ com.pnfsoftware.jeb.core.units.code.android.XmlResourceHelper
     ↳ com.pnfsoftware.jeb.core.units.code.android.ApkXmlResourceHelper
Known Direct Subclasses

Class Overview

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.

Summary

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

Fields

protected String attrPrefix

Public Constructors

public ApkXmlResourceHelper (IXmlUnit xml)

Create a manifest helper around the provided manifest unit.

public ApkXmlResourceHelper (Document doc)

Create a manifest helper around the provided low-level XML document object.

Protected Methods

protected String buildAttributeName (String name)

protected void prepare (Document doc)

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.