XmlBlock

Class of android.content.res · XmlBlock.java · Android's reference

public final class XmlBlock implements AutoCloseable

A compiled XML document, parsed by the runtime's HLE of libandroidfw's ResXMLTree (src/android/res/axml.c). Its parsers hold their place natively; their strings come from the document's pool, each made once.

Nested types

Constructors

public XmlBlock(byte[] data) source

Methods

public String string(int index) source
public XmlResourceParser newParser() source
public synchronized void close() source

Made from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.