# Class: com.pnfsoftware.jeb.core.units.code.android.ApkXmlResourceHelper

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.

## Constructor: ApkXmlResourceHelper
- parameter: `xml`, type: `com.pnfsoftware.jeb.core.units.IXmlUnit`

Description: Create a manifest helper around the provided manifest unit.
parameter: xml: XML unit

## Constructor: ApkXmlResourceHelper
- parameter: `doc`, type: `org.w3c.dom.Document`

Description: Create a manifest helper around the provided low\-level XML document object.
parameter: doc: XML document

## Protected Field: attrPrefix
Type: `java.lang.String`
Description: Android XML namespace prefix used for resource attributes.

## Protected Method: buildAttributeName
- parameter: `name`, type: `java.lang.String`
- return type: `java.lang.String`


## Protected Method: prepare
- parameter: `doc`, type: `org.w3c.dom.Document`

Description: This implementation calls `super` and sets the optional [#attrPrefix](#attrPrefix) attribute that will be auto\-appended to simple attribute names. The [#buildAttributeName(String)](#buildAttributeName(String)) method is also overridden to use that prefix.

