public class XMLAttr extends XMLNode implements Attr
DOM attribute implementation.
import klyn.io.xml.dom
attr = XMLAttr("id", "42", document)
print(attr.value)| Modifier and Type | Member | Description |
|---|---|---|
| public readonly property | isIdisId as Boolean |
No summary. |
| public readonly property | namename as String |
No summary. |
| public readonly property | ownerElementownerElement as Element |
No summary. |
| public readonly property | schemaTypeInfoschemaTypeInfo as TypeInfo |
No summary. |
| public readonly property | specifiedspecified as Boolean |
No summary. |
| public property | textContenttextContent as String |
Attribute text shares the value property. |
| public property | valuevalue as String |
No summary. |
| Modifier and Type | Member | Description |
|---|---|---|
| public | XMLAttr | Creates an attribute node. |
| Modifier and Type | Member | Description |
|---|---|---|
| public | _setIsId_setIsId(isId as Boolean) as Void |
Marks or unmarks this attribute as an identifier. |
| public | _setOwnerElement_setOwnerElement(owner as Element) as Void |
Updates the owning element. |
| public override | toStringtoString() as String |
No summary. |