Document
Iface
constructor
parent_
iface
name
create_
cdata
create_
comment
create_
element
create_
pi
create_
text
get_
backup
get_
file
get_
indent
get_
ns_
top
get_
prefix_
default_
ns
get_
root
save
save_
as
set_
backup
set_
file
set_
indent
set_
ns_
top
set_
prefix_
default_
ns
GJS API Reference
GXml-0.18
GXml
DocumentIface
Class DocumentIface
Hierarchy
DocumentIface
Index
Constructors
constructor
Properties
parent_
iface
name
Methods
create_
cdata
create_
comment
create_
element
create_
pi
create_
text
get_
backup
get_
file
get_
indent
get_
ns_
top
get_
prefix_
default_
ns
get_
root
save
save_
as
set_
backup
set_
file
set_
indent
set_
ns_
top
set_
prefix_
default_
ns
Constructors
constructor
new
Document
Iface
(
)
:
GXml
.
DocumentIface
Returns
GXml
.
DocumentIface
Properties
parent_
iface
parent_
iface
:
TypeInterface
Static
name
name
:
string
Methods
create_
cdata
create_
cdata
(
self
:
GXml
.
Document
, text
:
string
)
:
GXml
.
Node
Parameters
self:
GXml
.
Document
text:
string
Returns
GXml
.
Node
create_
comment
create_
comment
(
self
:
GXml
.
Document
, text
:
string
)
:
GXml
.
Node
Parameters
self:
GXml
.
Document
text:
string
Returns
GXml
.
Node
create_
element
create_
element
(
self
:
GXml
.
Document
, name
:
string
)
:
GXml
.
Node
Parameters
self:
GXml
.
Document
name:
string
Returns
GXml
.
Node
create_
pi
create_
pi
(
self
:
GXml
.
Document
, target
:
string
, data
:
string
)
:
GXml
.
Node
Parameters
self:
GXml
.
Document
target:
string
data:
string
Returns
GXml
.
Node
create_
text
create_
text
(
self
:
GXml
.
Document
, text
:
string
)
:
GXml
.
Node
Parameters
self:
GXml
.
Document
text:
string
Returns
GXml
.
Node
get_
backup
get_
backup
(
self
:
GXml
.
Document
)
:
boolean
Parameters
self:
GXml
.
Document
Returns
boolean
get_
file
get_
file
(
self
:
GXml
.
Document
)
:
Gio
.
File
Parameters
self:
GXml
.
Document
Returns
Gio
.
File
get_
indent
get_
indent
(
self
:
GXml
.
Document
)
:
boolean
Parameters
self:
GXml
.
Document
Returns
boolean
get_
ns_
top
get_
ns_
top
(
self
:
GXml
.
Document
)
:
boolean
Parameters
self:
GXml
.
Document
Returns
boolean
get_
prefix_
default_
ns
get_
prefix_
default_
ns
(
self
:
GXml
.
Document
)
:
boolean
Parameters
self:
GXml
.
Document
Returns
boolean
get_
root
get_
root
(
self
:
GXml
.
Document
)
:
GXml
.
Node
Parameters
self:
GXml
.
Document
Returns
GXml
.
Node
save
save
(
self
:
GXml
.
Document
, cancellable
?:
Gio
.
Cancellable
)
:
boolean
Parameters
self:
GXml
.
Document
Optional
cancellable:
Gio
.
Cancellable
Returns
boolean
save_
as
save_
as
(
self
:
GXml
.
Document
, f
:
Gio
.
File
, cancellable
?:
Gio
.
Cancellable
)
:
boolean
Parameters
self:
GXml
.
Document
f:
Gio
.
File
Optional
cancellable:
Gio
.
Cancellable
Returns
boolean
set_
backup
set_
backup
(
self
:
GXml
.
Document
, value
:
boolean
)
:
void
Parameters
self:
GXml
.
Document
value:
boolean
Returns
void
set_
file
set_
file
(
self
:
GXml
.
Document
, value
:
Gio
.
File
)
:
void
Parameters
self:
GXml
.
Document
value:
Gio
.
File
Returns
void
set_
indent
set_
indent
(
self
:
GXml
.
Document
, value
:
boolean
)
:
void
Parameters
self:
GXml
.
Document
value:
boolean
Returns
void
set_
ns_
top
set_
ns_
top
(
self
:
GXml
.
Document
, value
:
boolean
)
:
void
Parameters
self:
GXml
.
Document
value:
boolean
Returns
void
set_
prefix_
default_
ns
set_
prefix_
default_
ns
(
self
:
GXml
.
Document
, value
:
boolean
)
:
void
Parameters
self:
GXml
.
Document
value:
boolean
Returns
void
Document
Iface
constructor
parent_
iface
name
create_
cdata
create_
comment
create_
element
create_
pi
create_
text
get_
backup
get_
file
get_
indent
get_
ns_
top
get_
prefix_
default_
ns
get_
root
save
save_
as
set_
backup
set_
file
set_
indent
set_
ns_
top
set_
prefix_
default_
ns
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6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