List of usage examples for com.google.gwt.uibinder.elementparsers HtmlInterpreter newInterpreterForUiObject
public static HtmlInterpreter newInterpreterForUiObject(UiBinderWriter writer, String uiExpression)
getElement()
). From source file:com.jhickman.web.gwt.gxtuibinder.elementparsers.HtmlParser.java
License:Apache License
@Override public void parse(XMLElement elem, String fieldName, JClassType type, UiBinderWriter writer) throws UnableToCompleteException { HtmlInterpreter interpreter = HtmlInterpreter.newInterpreterForUiObject(writer, fieldName); String html = elem.consumeInnerHtml(interpreter); if (html.trim().length() > 0) { writer.genStringPropertySet(fieldName, "Html", html); }/*from www.ja v a 2 s .c om*/ }