Example #1
0
 private <T> WriteContinuation startRender(AdvisingAppendable out) throws IOException {
   RenderContext context =
       contextBuilder
           .withMessageBundle(msgs)
           .withActiveDelPackageSelector(activeDelegatePackages)
           .build();
   BidiGlobalDir dir = BidiGlobalDir.forStaticLocale(msgs.getLocaleString());
   Scoper scoper = new Scoper(apiCallScope, dir, msgs.getLocaleString());
   CompiledTemplate template = templateFactory.create(data, ij);
   return doRender(template, scoper, out, context);
 }
Example #2
0
 @Override
 public RendererImpl setXidRenamingMap(SoyIdRenamingMap xidRenamingMap) {
   contextBuilder.withXidRenamingMap(xidRenamingMap);
   return this;
 }
Example #3
0
 @Override
 public RendererImpl setCssRenamingMap(SoyCssRenamingMap cssRenamingMap) {
   contextBuilder.withCssRenamingMap(cssRenamingMap);
   return this;
 }