Class UiTextInterpreter
java.lang.Object
com.google.gwt.uibinder.elementparsers.UiTextInterpreter
- All Implemented Interfaces:
com.google.gwt.uibinder.rebind.XMLElement.Interpreter<String>
- Direct Known Subclasses:
UiSafeHtmlInterpreter
public class UiTextInterpreter
extends Object
implements com.google.gwt.uibinder.rebind.XMLElement.Interpreter<String>
Interprets generic message tags like:
<ui:text from="{myMsg.message}" />. It's called in both text
and HTML contexts.
-
Nested Class Summary
Modifier and TypeClassDescriptionprotected class
-
Field Summary
Modifier and TypeFieldDescriptionprotected final ComputedAttributeInterpreter
protected final com.google.gwt.uibinder.rebind.UiBinderWriter
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected ComputedAttributeInterpreter
protected String
interpretElement
(com.google.gwt.uibinder.rebind.XMLElement elem) Given an XMLElement, return its filtered value.
-
Field Details
-
writer
protected final com.google.gwt.uibinder.rebind.UiBinderWriter writer -
computedAttributeInterpreter
-
-
Constructor Details
-
UiTextInterpreter
public UiTextInterpreter(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
-
createComputedAttributeInterpreter
-
getLocalName
-