List of usage examples for com.google.gwt.user.client.ui RenderableStamper stamp
public <T extends HtmlElementBuilderBase<?>> T stamp(T elementBuilder)
From source file:com.google.gwt.uibinder.test.client.SimpleRenderable.java
License:Apache License
@Override public SafeHtml render(RenderableStamper stamper) { HtmlBuilderFactory factory = HtmlBuilderFactory.get(); String realText = text;//from w w w . j a v a 2 s. c o m text = "[string built]" + text; HtmlElementBuilderBase<?> builder = (HtmlElementBuilderBase<?>) build(factory); text = realText; return stamper.stamp(builder.asSafeHtml()); }