Class NodeItem
Base class for all tree nodes in the document structure. Follows the docling NodeItem convention with self_ref, parent, and children pointers.
public class NodeItem
- Inheritance
-
NodeItem
- Derived
- Inherited Members
Properties
Children
References to child nodes in the document tree.
public List<RefItem> Children { get; set; }
Property Value
ContentLayer
Which content layer this node belongs to.
public ContentLayer ContentLayer { get; set; }
Property Value
Parent
Reference to the parent node in the document tree.
public RefItem? Parent { get; set; }
Property Value
SelfRef
JSON pointer self-reference (e.g. "#/texts/0", "#/body").
public string SelfRef { get; set; }
Property Value
Methods
GetRef()
Returns a RefItem pointing to this node.
public RefItem GetRef()