com.google.sitebricks.rendering.control
Class DecorateWidget
java.lang.Object
com.google.sitebricks.rendering.control.DecorateWidget
- All Implemented Interfaces:
- Renderable
public class DecorateWidget
- extends Object
- implements Renderable
- Author:
- John Patterson (jdpatterson@gmail.com)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DecorateWidget
public DecorateWidget(WidgetChain chain,
String expression,
Evaluator evaluator)
embedNameFor
public static String embedNameFor(Class<?> pageClass)
render
public void render(Object bound,
Respond respond)
- Specified by:
render in interface Renderable
collect
public <T extends Renderable> Set<T> collect(Class<T> clazz)
- Specified by:
collect in interface Renderable
- Parameters:
clazz - A class to match.
- Returns:
- Returns a set of children matching the class, searching down
to the leaves of the tree.
Copyright © 2014. All rights reserved.