class SiteVariableInjector extends LinkRefProcessor
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- SiteVariableInjector
- LinkRefProcessor
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new SiteVariableInjector(site: Map[String, String], document: Document)
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
adjustInlineText(doc: Document, node: Node): BasedSequence
- Definition Classes
- SiteVariableInjector → LinkRefProcessor
-
def
allowDelimiters(chars: BasedSequence, doc: Document, node: Node): Boolean
- Definition Classes
- SiteVariableInjector → LinkRefProcessor
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
createNode(nodeChars: BasedSequence): Node
Creates a text node with the value of a site variable.
Creates a text node with the value of a site variable.
Using
PrefixedSubSequenceand then removing suffix is the only way I found to simulatereplace. Converting fromStringtoBasedSequenceviastringToCharSequencedoes not work because Flexmark'sTextonly uses the start and end offsets and does not do an in-place replacement of the contents of the returned sequence. These start and end offsets select from the original text, not the modified value that we wanted to insert. Creating a custom node extendingContentNodeorCustomNodedid not help either.- Definition Classes
- SiteVariableInjector → LinkRefProcessor
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
getBracketNestingLevel(): Int
- Definition Classes
- SiteVariableInjector → LinkRefProcessor
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getWantExclamationPrefix(): Boolean
- Definition Classes
- SiteVariableInjector → LinkRefProcessor
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isMatch(nodeChars: BasedSequence): Boolean
- Definition Classes
- SiteVariableInjector → LinkRefProcessor
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
updateNodeElements(document: Document, node: Node): Unit
- Definition Classes
- SiteVariableInjector → LinkRefProcessor
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )