AndroidXmlReader

class AndroidXmlReader(val parser: XmlPullParser) : XmlReader(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
open override val attributeCount: Int
Link copied to clipboard
open override val depth: Int
Link copied to clipboard
open override val encoding: String?
Link copied to clipboard
open lateinit override var eventType: EventType
Link copied to clipboard
Link copied to clipboard
open override var isStarted: Boolean
Link copied to clipboard
open override val localName: String
Link copied to clipboard
open val name: QName
Link copied to clipboard

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 override val namespaceDecls: List<Namespace>
Link copied to clipboard
open override val namespaceURI: String
Link copied to clipboard
val parser: XmlPullParser
Link copied to clipboard
open override val piData: String
Link copied to clipboard
open override val piTarget: String
Link copied to clipboard
open override val prefix: String
Link copied to clipboard
open override val standalone: Boolean
Link copied to clipboard
open override val text: String
Link copied to clipboard
open override var version: String?

Functions

Link copied to clipboard
open override fun close()
Link copied to clipboard
Link copied to clipboard
open override fun getAttributeLocalName(index: Int): String
Link copied to clipboard
open fun getAttributeName(index: Int): QName
Link copied to clipboard
open override fun getAttributeNamespace(index: Int): String
Link copied to clipboard
open override fun getAttributePrefix(index: Int): String
Link copied to clipboard
open fun getAttributeValue(name: QName): String?
open override fun getAttributeValue(index: Int): String
open override fun getAttributeValue(nsUri: String?, localName: String): String?
Link copied to clipboard
open override fun getNamespacePrefix(namespaceUri: String): String?
Link copied to clipboard
open override fun getNamespaceURI(prefix: String): String?
Link copied to clipboard
open operator override fun hasNext(): Boolean
Link copied to clipboard
open fun isCharacters(): Boolean
Link copied to clipboard
open fun isEndElement(): Boolean
Link copied to clipboard
Link copied to clipboard
open override fun isWhitespace(): Boolean
Link copied to clipboard
open operator override fun next(): EventType
Link copied to clipboard
open override fun nextTag(): EventType
Link copied to clipboard
open fun require(type: EventType, name: QName?)
open fun require(type: EventType, namespace: String?, name: String?)