Debian Codegraph @

vendor/wikimedia/idle-dom/src/Attr.php

raw
1 <?php
2
3 // AUTOMATICALLY GENERATED. DO NOT EDIT.
4 // Use `composer build` to regenerate.
5
6 namespace Wikimedia\IDLeDOM;
7
8 /**
9 * Attr
10 *
11 * @see https://dom.spec.whatwg.org/#interface-attr
12 *
13 * @property int $nodeType
14 * @property string $nodeName
15 * @property string $baseURI
16 * @property bool $isConnected
17 * @property Document|null $ownerDocument
18 * @property Node|null $parentNode
19 * @property Element|null $parentElement
20 * @property NodeList $childNodes
21 * @property Node|null $firstChild
22 * @property Node|null $lastChild
23 * @property Node|null $previousSibling
24 * @property Node|null $nextSibling
25 * @property ?string $nodeValue
26 * @property ?string $textContent
27 * @property ?string $namespaceURI
28 * @property ?string $prefix
29 * @property string $localName
30 * @property string $name
31 * @property string $value
32 * @property Element|null $ownerElement
33 * @property bool $specified
34 * @phan-forbid-undeclared-magic-properties
35 */
36 interface Attr extends Node {
37 // Direct parent: Node
38
39 /**
40 * @return ?string
41 */
42 public function getNamespaceURI(): ?string;
43
44 /**
45 * @return ?string
46 */
47 public function getPrefix(): ?string;
48
49 /**
50 * @return string
51 */
52 public function getLocalName(): string;
53
54 /**
55 * @return string
56 */
57 public function getName(): string;
58
59 /**
60 * @return string
61 */
62 public function getValue(): string;
63
64 /**
65 * @param string $val
66 */
67 public function setValue( string $val ): void;
68
69 /**
70 * @return Element|null
71 */
72 public function getOwnerElement();
73
74 /**
75 * @return bool
76 */
77 public function getSpecified(): bool;
78
79 }