org.datacleaner.beans.BooleanAnalyzerResultHtmlRenderer.scala Maven / Gradle / Ivy
package org.datacleaner.beans
import org.datacleaner.api.Provided
import org.datacleaner.api.RendererBean
import org.datacleaner.api.Renderer
import org.datacleaner.api.RendererPrecedence
import org.datacleaner.result.html.HtmlFragment
import org.datacleaner.result.renderer.RendererFactory
import javax.inject.Inject
import org.datacleaner.result.renderer.HtmlRenderingFormat
@org.datacleaner.api.RendererBean(classOf[HtmlRenderingFormat])
class BooleanAnalyzerResultHtmlRenderer(rf: RendererFactory) extends Renderer[BooleanAnalyzerResult, HtmlFragment] {
@Inject
@Provided
var rendererFactory: RendererFactory = rf;
def this() = this(null)
override def getPrecedence(result: BooleanAnalyzerResult) = RendererPrecedence.HIGH
override def render(result: BooleanAnalyzerResult) = new BooleanAnalyzerHtmlFragment(rendererFactory, result);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy