BrightSide Workbench Full Report + Source Code
org.turro.action.content.ContentRenderer Class Reference

Public Member Functions

 ContentRenderer (MacroCommand macro, IContentIterator iterator, Writer writer, RendererCommand onExecute)
 
MacroCommand getMacro ()
 
IContentIterator getIterator ()
 
Writer getWriter ()
 
String execute ()
 

Detailed Description

Author
Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g

Definition at line 28 of file ContentRenderer.java.

Constructor & Destructor Documentation

◆ ContentRenderer()

org.turro.action.content.ContentRenderer.ContentRenderer ( MacroCommand  macro,
IContentIterator  iterator,
Writer  writer,
RendererCommand  onExecute 
)

Definition at line 35 of file ContentRenderer.java.

35  {
36  this.macro = macro;
37  this.iterator = iterator;
38  this.writer = writer;
39  this.onExecute = onExecute;
40  }

Member Function Documentation

◆ execute()

String org.turro.action.content.ContentRenderer.execute ( )

Definition at line 54 of file ContentRenderer.java.

54  {
55  return onExecute != null ? onExecute.execute(iterator, writer) : "";
56  }
String execute(IContentIterator iterator, Writer writer)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getIterator()

IContentIterator org.turro.action.content.ContentRenderer.getIterator ( )

Definition at line 46 of file ContentRenderer.java.

46  {
47  return iterator;
48  }
Here is the caller graph for this function:

◆ getMacro()

MacroCommand org.turro.action.content.ContentRenderer.getMacro ( )

Definition at line 42 of file ContentRenderer.java.

42  {
43  return macro;
44  }

◆ getWriter()

Writer org.turro.action.content.ContentRenderer.getWriter ( )

Definition at line 50 of file ContentRenderer.java.

50  {
51  return writer;
52  }

The documentation for this class was generated from the following file: