NodeCreator

abstract class NodeCreator<N : BannerComponentNode?, V : NodeVerifier?>

Constructors

NodeCreator
Link copied to clipboard
open fun NodeCreator(nodeVerifier: V)

Functions

isNodeType
Link copied to clipboard
open fun isNodeType(bannerComponents: BannerComponents): Boolean
postProcess
Link copied to clipboard
open fun postProcess(textView: TextView, bannerComponentNodes: List<BannerComponentNode>)
Coordinators which make edits to the text after it's been populated into the text view shouldoverride this method.
preProcess
Link copied to clipboard
open fun preProcess(textView: TextView, bannerComponentNodes: List<BannerComponentNode>)
One coordinator should override this method, and this should be the coordinator which populatesthe textView with text.
setupNode
Link copied to clipboard
abstract fun setupNode(components: BannerComponents, index: Int, startIndex: Int, modifier: String): N

Properties

nodeVerifier
Link copied to clipboard
open val nodeVerifier: V

Inheritors

ExitSignCreator
Link copied to clipboard
ImageCreator
Link copied to clipboard
TextCreator
Link copied to clipboard
AbbreviationCreator
Link copied to clipboard