Element
Iface
constructor
parent_
iface
name
get_
attr
get_
content
get_
ns_
attr
get_
tag_
name
normalize
remove_
attr
remove_
ns_
attr
set_
attr
set_
content
set_
ns_
attr
GJS API Reference
GXml-0.18
GXml
ElementIface
Class ElementIface
Hierarchy
ElementIface
Index
Constructors
constructor
Properties
parent_
iface
name
Methods
get_
attr
get_
content
get_
ns_
attr
get_
tag_
name
normalize
remove_
attr
remove_
ns_
attr
set_
attr
set_
content
set_
ns_
attr
Constructors
constructor
new
Element
Iface
(
)
:
GXml
.
ElementIface
Returns
GXml
.
ElementIface
Properties
parent_
iface
parent_
iface
:
TypeInterface
Static
name
name
:
string
Methods
get_
attr
get_
attr
(
self
:
GXml
.
Element
, name
:
string
)
:
GXml
.
Node
Parameters
self:
GXml
.
Element
name:
string
Returns
GXml
.
Node
get_
content
get_
content
(
self
:
GXml
.
Element
)
:
string
Parameters
self:
GXml
.
Element
Returns
string
get_
ns_
attr
get_
ns_
attr
(
self
:
GXml
.
Element
, name
:
string
, uri
:
string
)
:
GXml
.
Node
Parameters
self:
GXml
.
Element
name:
string
uri:
string
Returns
GXml
.
Node
get_
tag_
name
get_
tag_
name
(
self
:
GXml
.
Element
)
:
string
Parameters
self:
GXml
.
Element
Returns
string
normalize
normalize
(
self
:
GXml
.
Element
)
:
void
Parameters
self:
GXml
.
Element
Returns
void
remove_
attr
remove_
attr
(
self
:
GXml
.
Element
, name
:
string
)
:
void
Parameters
self:
GXml
.
Element
name:
string
Returns
void
remove_
ns_
attr
remove_
ns_
attr
(
self
:
GXml
.
Element
, name
:
string
, uri
:
string
)
:
void
Parameters
self:
GXml
.
Element
name:
string
uri:
string
Returns
void
set_
attr
set_
attr
(
self
:
GXml
.
Element
, name
:
string
, value
:
string
)
:
void
Parameters
self:
GXml
.
Element
name:
string
value:
string
Returns
void
set_
content
set_
content
(
self
:
GXml
.
Element
, value
:
string
)
:
void
Parameters
self:
GXml
.
Element
value:
string
Returns
void
set_
ns_
attr
set_
ns_
attr
(
self
:
GXml
.
Element
, ns
:
string
, name
:
string
, value
:
string
)
:
void
Parameters
self:
GXml
.
Element
ns:
string
name:
string
value:
string
Returns
void
Element
Iface
constructor
parent_
iface
name
get_
attr
get_
content
get_
ns_
attr
get_
tag_
name
normalize
remove_
attr
remove_
ns_
attr
set_
attr
set_
content
set_
ns_
attr
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJHWG1sXzBfMTguR1htbC5FbGVtZW50SWZhY2UuaHRtbCNjb25zdHJ1Y3RvciIsIm5hbWUiOiJjb25zdHJ1Y3RvciIsImNoaWxkcmVuIjpbXSwiaXNFeHRlcm4iOmZhbHNlLCJpc0ludGVybiI6dHJ1ZX0seyJjbGFzc05hbWVzIjoidHNkLWtpbmQtcHJvcGVydHkgdHNkLXBhcmVudC1raW5kLWNsYXNzIiwiaHJlZiI6IkdYbWxfMF8xOC5HWG1sLkVsZW1lbnRJZmFjZS5odG1sI3BhcmVudF9pZmFjZSIsIm5hbWUiOiJwYXJlbnRfaWZhY2UiLCJjaGlsZHJlbiI6W10sImlzRXh0ZXJuIjpmYWxzZSwiaXNJbnRlcm4iOnRydWV9LHsiY2xhc3NOYW1lcyI6InRzZC1raW5kLXByb3BlcnR5IHRzZC1wYXJlbnQta2luZC1jbGFzcyB0c2QtaXMtc3RhdGljIiwiaHJlZiI6IkdYbWxfMF8xOC5HWG1sLkVsZW1lbnRJZmFjZS5odG1sI25hbWUiLCJuYW1lIjoibmFtZSIsImNoaWxkcmVuIjpbXSwiaXNFeHRlcm4iOmZhbHNlLCJpc0ludGVybiI6dHJ1ZX0seyJjbGFzc05hbWVzIjoidHNkLWtpbmQtbWV0aG9kIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJHWG1sXzBfMTguR1htbC5FbGVtZW50SWZhY2UuaHRtbCNnZXRfYXR0ciIsIm5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