ContentBox Core API 1.5.7

contentbox.model.content.renderers
Class WidgetRenderer

WEB-INF.cftags.component
        extended by contentbox.model.content.renderers.WidgetRenderer

public class WidgetRenderer
extends WEB-INF.cftags.component

A content renderer that transforms {{{}}} into widget executions


Method Summary
 any GETLOG()
 any GETWIDGETSERVICE()
 void SETLOG(any log)
 void SETWIDGETSERVICE(any widgetService)
 void cb_onContentRendering([any event], [struct interceptData])
          Execute on content translations for pages and blog entries
 void configure()
private void parseTagWidgets(any builder)
          Parses content to find
private void parseTripleMustacheWidgets(any builder)
          Parses content to find {{{
private any translateContent(any builder, [any content])
          Executes custom parsing rules on content
 
Methods inherited from class WEB-INF.cftags.component
 

Method Detail

GETLOG

public any GETLOG()


GETWIDGETSERVICE

public any GETWIDGETSERVICE()


SETLOG

public void SETLOG(any log)

Parameters:
log

SETWIDGETSERVICE

public void SETWIDGETSERVICE(any widgetService)

Parameters:
widgetService

cb_onContentRendering

public void cb_onContentRendering([any event], [struct interceptData])
Execute on content translations for pages and blog entries

Parameters:
event
interceptData

configure

public void configure()


parseTagWidgets

private void parseTagWidgets(any builder)
Parses content to find ... tags, and renders the associated widget

Parameters:
builder - {java.lang.StringBuilder}

parseTripleMustacheWidgets

private void parseTripleMustacheWidgets(any builder)
Parses content to find {{{...}}} syntax, and renders the associated widget

Parameters:
builder - {java.lang.StringBuilder}

translateContent

private any translateContent(any builder, [any content])
Executes custom parsing rules on content

Parameters:
builder - {java.lang.StringBuilder}
content - {String}

ContentBox Core API 1.5.7