Cursor for the root node of a document tree, providing access to all child cursors of this tree and allowing to trigger rewrite operations.
Value parameters
- target
-
the root of the document tree this cursor points to
Attributes
- Companion
- object
- Source
- Cursor.scala
- Graph
-
- Supertypes
Members list
Type members
Types
Attributes
- Source
- Cursor.scala
Value members
Concrete methods
Returns a new tree root, with all the document models contained in it rewritten based on the specified rewrite rule.
Returns a new tree root, with all the document models contained in it rewritten based on the specified rewrite rule.
Attributes
- Source
- Cursor.scala
Selects the tree configuration for the specified path, or its nearest parent if that path does not have a configuration assigned.
Selects the tree configuration for the specified path, or its nearest parent if that path does not have a configuration assigned. Always succeeds as recursing upwards will eventually lead to this root cursor and return its configuration.
Attributes
- Source
- Cursor.scala
Concrete fields
All documents contained in this tree, fetched recursively, depth-first.
All documents contained in this tree, fetched recursively, depth-first.
Attributes
- Source
- Cursor.scala
Attributes
- Source
- Cursor.scala
The cursor for the cover document of this tree.
The context for the output format when the cursor has been created for the final rewrite phase for a specific output format or empty in earlier rewrite phases that apply to all formats.
The context for the output format when the cursor has been created for the final rewrite phase for a specific output format or empty in earlier rewrite phases that apply to all formats.
Attributes
- Source
- Cursor.scala
The path translator to be used for translating internal links and output paths.
The path translator to be used for translating internal links and output paths.
The translator is specific for each output format and therefore this value is empty for any cursor that has not been created for the final rewrite phase in the context of a concrete renderer and its template.
Attributes
- Source
- Cursor.scala
Attributes
- Source
- Cursor.scala
The cursor for the underlying tree structure of this root node.