XElement

class XElement(localName: String, ns: String) : XContainer

Types

Companion
Link copied to clipboard
object Companion

Functions

add
Link copied to clipboard
fun add(node: XNode)
fun add(index: Int, node: XNode)
addAttribute
Link copied to clipboard
fun addAttribute(attribute: XAttribute)
attribute
Link copied to clipboard
fun attribute(localName: String): XAttribute?
fun attribute(localName: String, namespaceUri: String): XAttribute?
attributes
Link copied to clipboard
fun attributes(): List<XAttribute>
element
Link copied to clipboard
fun element(localName: String): XElement?
fun element(localName: String, namespaceUri: String): XElement?
elements
Link copied to clipboard
fun elements(): Iterable<XElement>
fun elements(localName: String): List<XElement>
fun elements(localName: String, namespaceUri: String): List<XElement>
remove
Link copied to clipboard
fun remove(node: XNode)
removeAt
Link copied to clipboard
fun removeAt(index: Int)
toString
Link copied to clipboard
open override fun toString(): String

Properties

firstNode
Link copied to clipboard
val firstNode: XNode?
lastNode
Link copied to clipboard
val lastNode: XNode?
localName
Link copied to clipboard
val localName: String
namespaceUri
Link copied to clipboard
val namespaceUri: String
nextNode
Link copied to clipboard
val nextNode: XNode?
nodes
Link copied to clipboard
val nodes: Iterable<XNode>
nodeType
Link copied to clipboard
val nodeType: XmlNodeType
parent
Link copied to clipboard
val parent: XContainer?
value
Link copied to clipboard
val value: String