AndroidXmlReader

class AndroidXmlReader(val parser: XmlPullParser)(source)

And XMLReader implementation that works on Android

Constructors

Link copied to clipboard
constructor(reader: Reader)
constructor(input: InputStream, encoding: String)
constructor(parser: XmlPullParser)

Properties

Link copied to clipboard
Link copied to clipboard
open val depth: Int
Link copied to clipboard
open val encoding: String?
Link copied to clipboard
open val eventType: <Error class: unknown class>
Link copied to clipboard
open var isStarted: Boolean
Link copied to clipboard
open val localName: String
Link copied to clipboard
Link copied to clipboard
open val namespaceContext: <Error class: unknown class>

This method creates a new immutable context, so keeping the context around is valid. For reduced perfomance overhead use .getNamespacePrefix and .getNamespaceUri for lookups.

Link copied to clipboard
open val namespaceDecls: List<<Error class: unknown class>>
Link copied to clipboard
Link copied to clipboard
val parser: XmlPullParser
Link copied to clipboard
open val piData: String
Link copied to clipboard
open val piTarget: String
Link copied to clipboard
open val prefix: String
Link copied to clipboard
Link copied to clipboard
open val text: String
Link copied to clipboard
open val version: String?

Functions

Link copied to clipboard
open fun close()
Link copied to clipboard
open fun getAttributeLocalName(index: Int): String
Link copied to clipboard
open fun getAttributeNamespace(index: Int): String
Link copied to clipboard
open fun getAttributePrefix(index: Int): String
Link copied to clipboard
open fun getAttributeValue(index: Int): String
open fun getAttributeValue(nsUri: String?, localName: String): String?
Link copied to clipboard
open fun getNamespacePrefix(namespaceUri: String): String?
Link copied to clipboard
open fun getNamespaceURI(prefix: String): String?
Link copied to clipboard
open fun hasNext(): Boolean
Link copied to clipboard
open fun isWhitespace(): Boolean
Link copied to clipboard
open fun next(): <Error class: unknown class>
Link copied to clipboard
open fun nextTag(): <Error class: unknown class>