public class TextInterpreter extends Object implements XMLElement.Interpreter<String>
XMLElement.consumeInnerText(com.google.gwt.uibinder.rebind.XMLElement.PostProcessingInterpreter<java.lang.String>)
.
It handles <m:msg/> elements, replacing them with references to Messages
interface calls.
Calls to XMLElement.consumeInnerHtml(com.google.gwt.uibinder.rebind.XMLElement.Interpreter<java.lang.String>)
should instead use
HtmlInterpreter
Constructor and Description |
---|
TextInterpreter(UiBinderWriter writer) |
Modifier and Type | Method and Description |
---|---|
String |
interpretElement(XMLElement elem)
Given an XMLElement, return its filtered value.
|
public TextInterpreter(UiBinderWriter writer)
public String interpretElement(XMLElement elem) throws com.google.gwt.core.ext.UnableToCompleteException
XMLElement.Interpreter
interpretElement
in interface XMLElement.Interpreter<String>
com.google.gwt.core.ext.UnableToCompleteException
- on errorCopyright © 2016. All rights reserved.