Class HtmlInterpreter

java.lang.Object
com.google.gwt.uibinder.elementparsers.HtmlInterpreter
All Implemented Interfaces:
com.google.gwt.uibinder.rebind.XMLElement.Interpreter<String>

public class HtmlInterpreter extends Object implements com.google.gwt.uibinder.rebind.XMLElement.Interpreter<String>
This is the most generally useful interpreter, and the most likely to be used by a custom parser when calling XMLElement.consumeInnerHtml(com.google.gwt.uibinder.rebind.XMLElement.Interpreter<java.lang.String>).
  • Assigns computed values to element attributes (e.g. class="{style.pretty}")
  • Generates fields to hold named dom elements (e.g. <div gwt:field="importantDiv">)
  • Turns <ui:msg> and <ui:attr> elements into methods on a generated Messages interface
  • Fails if any element encountered is a widget