Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.google.sitebricks.rendering.control;
 
 

Author(s):
Dhanji R. Prasanna (dhanji@gmail.com)
class HeaderWidget implements Renderable {
  private final WidgetChain widgetChain;
  private Map<StringList<Token>> attribs;
  public HeaderWidget(WidgetChain widgetChainMap<StringStringattribs,
                      EvaluatorCompiler compilerthrows ExpressionCompileException {
    this. = widgetChain;
    this. = XmlWidget.compile(attribscompiler);
  }
  public void render(Object boundRespond respond) {
    XmlWidget.writeOpenTag(boundrespond"head");
    respond.write('>');
    //render children (as necessary)
    .render(boundrespond);
    respond.withHtml()
        .headerPlaceholder(); //TODO replace placeholder with an index?
    respond.write("</head>");
  }
  public <T extends RenderableSet<T> collect(Class<T> clazz) {
    return .collect(clazz);
  }
New to GrepCode? Check out our FAQ X