예제 #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);
 }
예제 #2
0
 @Override
 public RendererImpl setXidRenamingMap(SoyIdRenamingMap xidRenamingMap) {
   contextBuilder.withXidRenamingMap(xidRenamingMap);
   return this;
 }
예제 #3
0
 @Override
 public RendererImpl setCssRenamingMap(SoyCssRenamingMap cssRenamingMap) {
   contextBuilder.withCssRenamingMap(cssRenamingMap);
   return this;
 }