Xml

data class Xml(val type: Xml.Type, val name: String, val attributes: Map<String, String>, val allChildren: List<Xml>, val content: String)

Constructors

Link copied to clipboard
constructor(type: Xml.Type, name: String, attributes: Map<String, String>, allChildren: List<Xml>, content: String)

Types

Link copied to clipboard
object Companion
Link copied to clipboard
object Encode
Link copied to clipboard
object Entities
Link copied to clipboard
object Stream
Link copied to clipboard
enum Type : Enum<Xml.Type>

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun attribute(name: String): String?
Link copied to clipboard
fun boolean(name: String, defaultValue: Boolean = false): Boolean
Link copied to clipboard
Link copied to clipboard
fun child(name: String): Xml?
Link copied to clipboard
Link copied to clipboard
fun childText(name: String): String?
Link copied to clipboard
Link copied to clipboard
fun double(name: String, defaultValue: Double = 0.0): Double
Link copied to clipboard
fun doubleNull(name: String): Double?
Link copied to clipboard
Link copied to clipboard
fun float(name: String, defaultValue: Float = 0.0f): Float
Link copied to clipboard
fun floatNull(name: String): Float?
Link copied to clipboard
operator fun get(name: String): Iterable<Xml>
Link copied to clipboard
fun getDouble(name: String): Double?
Link copied to clipboard
fun getFloat(name: String): Float?
Link copied to clipboard
fun getInt(name: String): Int?
Link copied to clipboard
fun getLong(name: String): Long?
Link copied to clipboard
fun getString(name: String): String?
Link copied to clipboard
Link copied to clipboard
fun int(name: String, defaultValue: Int = 0): Int
Link copied to clipboard
fun intNull(name: String): Int?
Link copied to clipboard
fun long(name: String, defaultValue: Long = 0): Long
Link copied to clipboard
fun longNull(name: String): Long?
Link copied to clipboard
fun str(name: String, defaultValue: String = ""): String
Link copied to clipboard
fun strNull(name: String): String?
Link copied to clipboard
fun toOuterXmlIndented(indenter: Indenter = Indenter()): Indenter
Link copied to clipboard
fun toOuterXmlIndentedString(indenter: Indenter = Indenter()): String
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
fun uint(name: String, defaultValue: UInt): UInt
Link copied to clipboard
fun withExtraChild(node: Xml): Xml