toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-core
/
korlibs.io.serialization.xml
Package-level
declarations
Types
Functions
Properties
Types
Xml
Link copied to clipboard
data
class
Xml
(
val
type
:
Xml.Type
,
val
name
:
String
,
val
attributes
:
Map
<
String
,
String
>
,
val
allChildren
:
List
<
Xml
>
,
val
content
:
String
)
Xml
Builder
Link copied to clipboard
class
XmlBuilder
Properties
all
Children
Link copied to clipboard
val
Iterable
<
Xml
>
.
allChildren
:
Iterable
<
Xml
>
val
Sequence
<
Xml
>
.
allChildren
:
Sequence
<
Xml
>
all
Node
Children
Link copied to clipboard
val
Iterable
<
Xml
>
.
allNodeChildren
:
Iterable
<
Xml
>
val
Sequence
<
Xml
>
.
allNodeChildren
:
Sequence
<
Xml
>
first
Text
Link copied to clipboard
val
Iterable
<
Xml
>
.
firstText
:
String
?
val
Sequence
<
Xml
>
.
firstText
:
String
?
is
Comment
Link copied to clipboard
val
Xml
.
isComment
:
Boolean
is
Node
Link copied to clipboard
val
Xml
.
isNode
:
Boolean
is
Text
Link copied to clipboard
val
Xml
.
isText
:
Boolean
text
Link copied to clipboard
val
Iterable
<
Xml
>
.
text
:
String
val
Sequence
<
Xml
>
.
text
:
String
Functions
build
Xml
Link copied to clipboard
inline
fun
buildXml
(
rootTag
:
String
,
vararg
props
:
Pair
<
String
,
Any
?
>
,
crossinline
block
:
XmlBuilder
.
(
)
->
Unit
=
{}
)
:
Xml
children
Link copied to clipboard
fun
Iterable
<
Xml
>
.
children
(
name
:
String
)
:
Iterable
<
Xml
>
fun
Sequence
<
Xml
>
.
children
(
name
:
String
)
:
Sequence
<
Xml
>
descendants
Link copied to clipboard
fun
Xml
.
descendants
(
name
:
String
)
:
Sequence
<
Xml
>
first
Descendant
Link copied to clipboard
fun
Xml
.
firstDescendant
(
name
:
String
)
:
Xml
?
get
Link copied to clipboard
operator
fun
Iterable
<
Xml
>
.
get
(
name
:
String
)
:
Iterable
<
Xml
>
operator
fun
Sequence
<
Xml
>
.
get
(
name
:
String
)
:
Sequence
<
Xml
>
read
Xml
Link copied to clipboard
suspend
fun
VfsFile
.
readXml
(
)
:
Xml
str
Link copied to clipboard
fun
Iterable
<
Xml
>
.
str
(
name
:
String
,
defaultValue
:
String
=
""
)
:
String
fun
Sequence
<
Xml
>
.
str
(
name
:
String
,
defaultValue
:
String
=
""
)
:
String
to
Xml
Link copied to clipboard
fun
String
.
toXml
(
)
:
Xml
Xml
Link copied to clipboard
fun
Xml
(
str
:
String
)
:
Xml
inline
fun
Xml
(
rootTag
:
String
,
vararg
props
:
Pair
<
String
,
Any
?
>
,
block
:
XmlBuilder
.
(
)
->
Unit
=
{}
)
:
Xml
inline
fun
Xml
(
rootTag
:
String
,
props
:
Map
<
String
,
Any
?
>
?
,
block
:
XmlBuilder
.
(
)
->
Unit
=
{}
)
:
Xml