Collection
Iface
constructor
name
append
clear
create_
item
get_
element
get_
item
get_
items_
name
get_
items_
type
get_
length
get_
nodes_
index
initialize
search
set_
element
set_
items_
type
validate_
append
GJS API Reference
GXml-0.20
GXml
CollectionIface
Class CollectionIface
Hierarchy
CollectionIface
Index
Constructors
constructor
Properties
name
Methods
append
clear
create_
item
get_
element
get_
item
get_
items_
name
get_
items_
type
get_
length
get_
nodes_
index
initialize
search
set_
element
set_
items_
type
validate_
append
Constructors
constructor
new
Collection
Iface
(
)
:
GXml
.
CollectionIface
Returns
GXml
.
CollectionIface
Properties
Static
name
name
:
string
Methods
append
append
(
self
:
GXml
.
Collection
, node
:
GXml
.
DomElement
)
:
void
Parameters
self:
GXml
.
Collection
node:
GXml
.
DomElement
Returns
void
clear
clear
(
self
:
GXml
.
Collection
)
:
void
Parameters
self:
GXml
.
Collection
Returns
void
create_
item
create_
item
(
self
:
GXml
.
Collection
)
:
GXml
.
DomElement
Parameters
self:
GXml
.
Collection
Returns
GXml
.
DomElement
get_
element
get_
element
(
self
:
GXml
.
Collection
)
:
GXml
.
DomElement
Parameters
self:
GXml
.
Collection
Returns
GXml
.
DomElement
get_
item
get_
item
(
self
:
GXml
.
Collection
, index
:
number
)
:
GXml
.
DomElement
Parameters
self:
GXml
.
Collection
index:
number
Returns
GXml
.
DomElement
get_
items_
name
get_
items_
name
(
self
:
GXml
.
Collection
)
:
string
Parameters
self:
GXml
.
Collection
Returns
string
get_
items_
type
get_
items_
type
(
self
:
GXml
.
Collection
)
:
GType
<
unknown
>
Parameters
self:
GXml
.
Collection
Returns
GType
<
unknown
>
get_
length
get_
length
(
self
:
GXml
.
Collection
)
:
number
Parameters
self:
GXml
.
Collection
Returns
number
get_
nodes_
index
get_
nodes_
index
(
self
:
GXml
.
Collection
)
:
GLib
.
Queue
Parameters
self:
GXml
.
Collection
Returns
GLib
.
Queue
initialize
initialize
(
self
:
GXml
.
Collection
, t
:
GType
<
unknown
>
)
:
void
Parameters
self:
GXml
.
Collection
t:
GType
<
unknown
>
Returns
void
search
search
(
self
:
GXml
.
Collection
)
:
void
Parameters
self:
GXml
.
Collection
Returns
void
set_
element
set_
element
(
self
:
GXml
.
Collection
, value
:
GXml
.
DomElement
)
:
void
Parameters
self:
GXml
.
Collection
value:
GXml
.
DomElement
Returns
void
set_
items_
type
set_
items_
type
(
self
:
GXml
.
Collection
, value
:
GType
<
unknown
>
)
:
void
Parameters
self:
GXml
.
Collection
value:
GType
<
unknown
>
Returns
void
validate_
append
validate_
append
(
self
:
GXml
.
Collection
, index
:
number
, element
:
GXml
.
DomElement
)
:
boolean
Parameters
self:
GXml
.
Collection
index:
number
element:
GXml
.
DomElement
Returns
boolean
Collection
Iface
constructor
name
append
clear
create_
item
get_
element
get_
item
get_
items_
name
get_
items_
type
get_
length
get_
nodes_
index
initialize
search
set_
element
set_
items_
type
validate_
append
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJHWG1sXzBfMjAuR1htbC5Db2xsZWN0aW9uSWZhY2UuaHRtbCNjb25zdHJ1Y3RvciIsIm5hbWUiOiJjb25zdHJ1Y3RvciIsImNoaWxkcmVuIjpbXSwiaXNFeHRlcm4iOmZhbHNlLCJpc0ludGVybiI6dHJ1ZX0seyJjbGFzc05hbWVzIjoidHNkLWtpbmQtcHJvcGVydHkgdHNkLXBhcmVudC1raW5kLWNsYXNzIHRzZC1pcy1zdGF0aWMiLCJocmVmIjoiR1htbF8wXzIwLkdYbWwuQ29sbGVjdGlvbklmYWNlLmh0bWwjbmFtZSIsIm5hbWUiOiJuYW1lIiwiY2hpbGRyZW4iOltdLCJpc0V4dGVybiI6ZmFsc2UsImlzSW50ZXJuIjp0cnVlfSx7ImNsYXNzTmFtZXMiOiJ0c2Qta2luZC1tZXRob2QgdHNkLXBhcmVudC1raW5kLWNsYXNzIiwiaHJlZiI6IkdYbWx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