Packages

class SiteVariableInjector extends LinkRefProcessor

Linear Supertypes
LinkRefProcessor, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SiteVariableInjector
  2. LinkRefProcessor
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SiteVariableInjector(site: Map[String, String], document: Document)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def adjustInlineText(doc: Document, node: Node): BasedSequence
    Definition Classes
    SiteVariableInjector → LinkRefProcessor
  5. def allowDelimiters(chars: BasedSequence, doc: Document, node: Node): Boolean
    Definition Classes
    SiteVariableInjector → LinkRefProcessor
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  8. 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 PrefixedSubSequence and then removing suffix is the only way I found to simulate replace. Converting from String to BasedSequence via stringToCharSequence does not work because Flexmark's Text only 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 extending ContentNode or CustomNode did not help either.

    Definition Classes
    SiteVariableInjector → LinkRefProcessor
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. def getBracketNestingLevel(): Int
    Definition Classes
    SiteVariableInjector → LinkRefProcessor
  13. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def getWantExclamationPrefix(): Boolean
    Definition Classes
    SiteVariableInjector → LinkRefProcessor
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. def isMatch(nodeChars: BasedSequence): Boolean
    Definition Classes
    SiteVariableInjector → LinkRefProcessor
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  22. def toString(): String
    Definition Classes
    AnyRef → Any
  23. def updateNodeElements(document: Document, node: Node): Unit
    Definition Classes
    SiteVariableInjector → LinkRefProcessor
  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from LinkRefProcessor

Inherited from AnyRef

Inherited from Any

Ungrouped