-
Notifications
You must be signed in to change notification settings - Fork 0
/
attr.go
34 lines (25 loc) · 953 Bytes
/
attr.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
package dom
type Attr interface {
Node
// A String representing the local part of the qualified name of the
// attribute.
GetLocalName() string
// Returns the qualified name of an attribute, that is the name of
// the attribute, with the namespace prefix, if any, in front of
// it. For example, if the local name is lang and the namespace
// prefix is xml, the returned qualified name is xml:lang.
GetName() string
GetQName() Name
// The Element the attribute belongs to.
GetOwnerElement() Element
// // A String representing the URI of the namespace of the attribute, or
// // null if there is no namespace.
// GetNamespaceURI() string
// // A String representing the namespace prefix of the attribute, or
// // null if a namespace without prefix or no namespace are specified.
// GetPrefix() string
// The attribute's value, a string that can be set and get using this
// property.
GetValue() string
SetValue(string)
}