Class TextInterpreter
java.lang.Object
com.google.gwt.uibinder.elementparsers.TextInterpreter
- All Implemented Interfaces:
com.google.gwt.uibinder.rebind.XMLElement.Interpreter<String>
public class TextInterpreter
extends Object
implements com.google.gwt.uibinder.rebind.XMLElement.Interpreter<String>
The interpreter of choice for calls to
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptioninterpretElement
(com.google.gwt.uibinder.rebind.XMLElement elem) Given an XMLElement, return its filtered value.
-
Constructor Details
-
TextInterpreter
public TextInterpreter(com.google.gwt.uibinder.rebind.UiBinderWriter writer)
-
-
Method Details
-
interpretElement
public String interpretElement(com.google.gwt.uibinder.rebind.XMLElement elem) throws UnableToCompleteException Description copied from interface:com.google.gwt.uibinder.rebind.XMLElement.Interpreter
Given an XMLElement, return its filtered value.- Specified by:
interpretElement
in interfacecom.google.gwt.uibinder.rebind.XMLElement.Interpreter<String>
- Throws:
UnableToCompleteException
- on error
-