public class TextInterpreter extends Object implements com.google.gwt.uibinder.rebind.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(com.google.gwt.uibinder.rebind.UiBinderWriter writer) |
Modifier and Type | Method and Description |
---|---|
String |
interpretElement(com.google.gwt.uibinder.rebind.XMLElement elem)
Given an XMLElement, return its filtered value.
|
public TextInterpreter(com.google.gwt.uibinder.rebind.UiBinderWriter writer)
public String interpretElement(com.google.gwt.uibinder.rebind.XMLElement elem) throws UnableToCompleteException
com.google.gwt.uibinder.rebind.XMLElement.Interpreter
interpretElement
in interface com.google.gwt.uibinder.rebind.XMLElement.Interpreter<String>
UnableToCompleteException
- on errorCopyright © 2018. All rights reserved.