public interface Attr extends Node:
DOM attribute node.
import org.w3c.dom
attr = document.createAttribute("name")
attr.value = "value"| Modifier and Type | Member | Description |
|---|---|---|
| public readonly property | isIdisId as Boolean |
True when this attribute is known to be an element identifier. |
| public readonly property | namename as String |
Qualified attribute name. |
| public readonly property | ownerElementownerElement as Element |
Element currently owning this attribute, or null. |
| public readonly property | schemaTypeInfoschemaTypeInfo as TypeInfo |
Schema type information associated with this attribute. |
| public readonly property | specifiedspecified as Boolean |
True when the attribute value was explicitly specified. |
| public property | valuevalue as String |
Attribute textual value. |