Dom
Element
Iface
constructor
parent_
iface
name
get_
attribute
get_
attribute_
ns
get_
attributes
get_
class_
list
get_
class_
name
get_
elements_
by_
class_
name
get_
elements_
by_
tag_
name
get_
elements_
by_
tag_
name_
ns
get_
id
get_
local_
name
get_
namespace_
uri
get_
prefix
get_
tag_
name
has_
attribute
has_
attribute_
ns
remove_
attribute
remove_
attribute_
ns
set_
attribute
set_
attribute_
ns
set_
class_
name
set_
id
GJS API Reference
GXml-0.14
GXml
DomElementIface
Class DomElementIface
Hierarchy
DomElementIface
Index
Constructors
constructor
Properties
parent_
iface
name
Methods
get_
attribute
get_
attribute_
ns
get_
attributes
get_
class_
list
get_
class_
name
get_
elements_
by_
class_
name
get_
elements_
by_
tag_
name
get_
elements_
by_
tag_
name_
ns
get_
id
get_
local_
name
get_
namespace_
uri
get_
prefix
get_
tag_
name
has_
attribute
has_
attribute_
ns
remove_
attribute
remove_
attribute_
ns
set_
attribute
set_
attribute_
ns
set_
class_
name
set_
id
Constructors
constructor
new
Dom
Element
Iface
(
)
:
GXml
.
DomElementIface
Returns
GXml
.
DomElementIface
Properties
parent_
iface
parent_
iface
:
TypeInterface
Static
name
name
:
string
Methods
get_
attribute
get_
attribute
(
self
:
GXml
.
DomElement
, name
:
string
)
:
string
Parameters
self:
GXml
.
DomElement
name:
string
Returns
string
get_
attribute_
ns
get_
attribute_
ns
(
self
:
GXml
.
DomElement
, namespace
:
string
, local_name
:
string
)
:
string
Parameters
self:
GXml
.
DomElement
namespace:
string
local_name:
string
Returns
string
get_
attributes
get_
attributes
(
self
:
GXml
.
DomElement
)
:
GXml
.
DomNamedNodeMap
Parameters
self:
GXml
.
DomElement
Returns
GXml
.
DomNamedNodeMap
get_
class_
list
get_
class_
list
(
self
:
GXml
.
DomElement
)
:
GXml
.
DomTokenList
Parameters
self:
GXml
.
DomElement
Returns
GXml
.
DomTokenList
get_
class_
name
get_
class_
name
(
self
:
GXml
.
DomElement
)
:
string
Parameters
self:
GXml
.
DomElement
Returns
string
get_
elements_
by_
class_
name
get_
elements_
by_
class_
name
(
self
:
GXml
.
DomElement
, class_names
:
string
)
:
GXml
.
DomHTMLCollection
Parameters
self:
GXml
.
DomElement
class_names:
string
Returns
GXml
.
DomHTMLCollection
get_
elements_
by_
tag_
name
get_
elements_
by_
tag_
name
(
self
:
GXml
.
DomElement
, local_name
:
string
)
:
GXml
.
DomHTMLCollection
Parameters
self:
GXml
.
DomElement
local_name:
string
Returns
GXml
.
DomHTMLCollection
get_
elements_
by_
tag_
name_
ns
get_
elements_
by_
tag_
name_
ns
(
self
:
GXml
.
DomElement
, namespace
:
string
, local_name
:
string
)
:
GXml
.
DomHTMLCollection
Parameters
self:
GXml
.
DomElement
namespace:
string
local_name:
string
Returns
GXml
.
DomHTMLCollection
get_
id
get_
id
(
self
:
GXml
.
DomElement
)
:
string
Parameters
self:
GXml
.
DomElement
Returns
string
get_
local_
name
get_
local_
name
(
self
:
GXml
.
DomElement
)
:
string
Parameters
self:
GXml
.
DomElement
Returns
string
get_
namespace_
uri
get_
namespace_
uri
(
self
:
GXml
.
DomElement
)
:
string
Parameters
self:
GXml
.
DomElement
Returns
string
get_
prefix
get_
prefix
(
self
:
GXml
.
DomElement
)
:
string
Parameters
self:
GXml
.
DomElement
Returns
string
get_
tag_
name
get_
tag_
name
(
self
:
GXml
.
DomElement
)
:
string
Parameters
self:
GXml
.
DomElement
Returns
string
has_
attribute
has_
attribute
(
self
:
GXml
.
DomElement
, name
:
string
)
:
boolean
Parameters
self:
GXml
.
DomElement
name:
string
Returns
boolean
has_
attribute_
ns
has_
attribute_
ns
(
self
:
GXml
.
DomElement
, namespace
:
string
, local_name
:
string
)
:
boolean
Parameters
self:
GXml
.
DomElement
namespace:
string
local_name:
string
Returns
boolean
remove_
attribute
remove_
attribute
(
self
:
GXml
.
DomElement
, name
:
string
)
:
void
Parameters
self:
GXml
.
DomElement
name:
string
Returns
void
remove_
attribute_
ns
remove_
attribute_
ns
(
self
:
GXml
.
DomElement
, namespace
:
string
, local_name
:
string
)
:
void
Parameters
self:
GXml
.
DomElement
namespace:
string
local_name:
string
Returns
void
set_
attribute
set_
attribute
(
self
:
GXml
.
DomElement
, name
:
string
, value
:
string
)
:
void
Parameters
self:
GXml
.
DomElement
name:
string
value:
string
Returns
void
set_
attribute_
ns
set_
attribute_
ns
(
self
:
GXml
.
DomElement
, namespace
:
string
, name
:
string
, value
:
string
)
:
void
Parameters
self:
GXml
.
DomElement
namespace:
string
name:
string
value:
string
Returns
void
set_
class_
name
set_
class_
name
(
self
:
GXml
.
DomElement
, value
?:
string
)
:
void
Parameters
self:
GXml
.
DomElement
Optional
value:
string
Returns
void
set_
id
set_
id
(
self
:
GXml
.
DomElement
, value
?:
string
)
:
void
Parameters
self:
GXml
.
DomElement
Optional
value:
string
Returns
void
Dom
Element
Iface
constructor
parent_
iface
name
get_
attribute
get_
attribute_
ns
get_
attributes
get_
class_
list
get_
class_
name
get_
elements_
by_
class_
name
get_
elements_
by_
tag_
name
get_
elements_
by_
tag_
name_
ns
get_
id
get_
local_
name
get_
namespace_
uri
get_
prefix
get_
tag_
name
has_
attribute
has_
attribute_
ns
remove_
attribute
remove_
attribute_
ns
set_
attribute
set_
attribute_
ns
set_
class_
name
set_
id
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJHWG1sXzBfMTQuR1htbC5Eb21FbGVtZW50SWZhY2UuaHRtbCNjb25zdHJ1Y3RvciIsIm5hbWUiOiJjb25zdHJ1Y3RvciIsImNoaWxkcmVuIjpbXSwiaXNFeHRlcm4iOmZhbHNlLCJpc0ludGVybiI6dHJ1ZX0seyJjbGFzc05hbWVzIjoidHNkLWtpbmQtcHJvcGVydHkgdHNkLXBhcmVudC1raW5kLWNsYXNzIiwiaHJlZiI6IkdYbWxfMF8xNC5HWG1sLkRvbUVsZW1lbnRJZmFjZS5odG1sI3B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