XmlChar

value class XmlChar(val codepoint: Int) : Comparable<XmlChar>

Represents an XML character.

See also

Parameters

codepoint

The unicode codepoint for this XML character.

Constructors

Link copied to clipboard
fun XmlChar(c: Char)

Creates an XML character from a Kotlin character.

Link copied to clipboard
fun XmlChar(high: Char, low: Char)

Creates an XML character from a surrogate pair.

Link copied to clipboard
fun XmlChar(codepoint: Int)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open operator override fun compareTo(other: XmlChar): Int

Compares this object with the specified object for order.

Link copied to clipboard
open override fun toString(): String

Returns the UTF-16 representation of the XML character.

Properties

Link copied to clipboard