OutlineElement
Genel Bakış
OutlineElement Python için FOSS’de bir sınıf. Mirasçılar: CompositeNode.
OutlineElement.NumberList bu çizgi unsuru için kullanılan numaralı listeni temsil eder veya yok ise Yok.
Bu sınıf, Python programlarında OutlineElement nesnelerle çalışmak için 7 yöntem sağlar. Kullanılabilir yöntemler şunlardır: Accept, AppendChildFirst, AppendChildLast, GetChildNodes, GetEnumerator, InsertChild, RemoveChild. Python için FOSS paketini yükledikten sonra tüm kamu üyeleri herhangi bir Python uygulamasına erişilebilir. Özellikleri: Document, FirstChild, LastChild, NumberList, ParentNode.
Özellikler
| Adı: | Tip: | Access | Açıklama: |
|---|---|---|---|
NumberList | `NumberList | None` | Okuma/Yazma |
FirstChild | `Node | None` | Oku . |
LastChild | `Node | None` | Oku . |
ParentNode | `Node | None` | Oku . |
Document | `Document | None` | Oku . |
Yöntemler
| Signature | Açıklama: |
|---|---|
AppendChildLast(node: TNode) → TNode | |
AppendChildFirst(node: TNode) → TNode | |
InsertChild(index: int, node: TNode) → TNode | |
RemoveChild(node: Node) | |
GetEnumerator() → Iterator[Node] | |
GetChildNodes(node_type: type[TNode]) → list[TNode] | |
Accept(visitor: DocumentVisitor) |