class LinkResolver extends RewriteRulesBuilder
The default rewrite rules responsible for resolving link references that get applied to the raw document tree after parsing.
These rules resolve references to images, footnotes, citations and other inline targets, and generate the identifiers for targets with auto-generated ids like auto-number footnotes.
The rules replace references pointing to internal or external targets with the corresponding resolved link elements, as well as the targets themselves with nodes that contain their final ids.
In case of duplicate target ids or unresolvable references runtime messages get inserted into the final document tree.
- Alphabetic
- By Inheritance
- LinkResolver
- Function1
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new LinkResolver(root: DocumentTreeRoot, slugBuilder: (String) ⇒ String)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
andThen[A](g: (ConfigResult[RewriteRules]) ⇒ A): (DocumentCursor) ⇒ A
- Definition Classes
- Function1
- Annotations
- @unspecialized()
-
def
apply(cursor: DocumentCursor): ConfigResult[RewriteRules]
The default rules for resolving link references to be applied to the document.
The default rules for resolving link references to be applied to the document.
- Definition Classes
- LinkResolver → Function1
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
def
compose[A](g: (A) ⇒ DocumentCursor): (A) ⇒ ConfigResult[RewriteRules]
- Definition Classes
- Function1
- Annotations
- @unspecialized()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val targets: TreeTargets
-
def
toString(): String
- Definition Classes
- Function1 → AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated