@Singleton public final class RenderVisitorFactory extends Object
Important: Do not use outside of Soy code (treat as superpackage-private).
| Constructor and Description |
|---|
RenderVisitorFactory(Map<String,SoyJavaPrintDirective> soyJavaDirectivesMap,
EvalVisitor.EvalVisitorFactory evalVisitorFactory,
ErrorReporter errorReporter) |
| Modifier and Type | Method and Description |
|---|---|
RenderVisitor |
create(Appendable outputBuf,
TemplateRegistry templateRegistry,
SoyRecord data,
SoyRecord ijData,
Set<String> activeDelPackageNames,
SoyMsgBundle msgBundle,
SoyIdRenamingMap xidRenamingMap,
SoyCssRenamingMap cssRenamingMap)
Creates a RenderVisitor.
|
@Inject public RenderVisitorFactory(Map<String,SoyJavaPrintDirective> soyJavaDirectivesMap, EvalVisitor.EvalVisitorFactory evalVisitorFactory, ErrorReporter errorReporter)
public RenderVisitor create(Appendable outputBuf, TemplateRegistry templateRegistry, SoyRecord data, @Nullable SoyRecord ijData, @Nullable Set<String> activeDelPackageNames, @Nullable SoyMsgBundle msgBundle, @Nullable SoyIdRenamingMap xidRenamingMap, @Nullable SoyCssRenamingMap cssRenamingMap)
outputBuf - The Appendable to append the output to.templateRegistry - A registry of all templates.data - The current template data.ijData - The current injected data.activeDelPackageNames - The set of active delegate package names. Allowed to be null
when known to be irrelevant, i.e. when not using delegates feature.msgBundle - The bundle of translated messages, or null to use the messages from the
Soy source.xidRenamingMap - The 'xid' renaming map, or null if not applicable.cssRenamingMap - The CSS renaming map, or null if not applicable.