GWT 2.4.0

com.google.gwt.uibinder.elementparsers
Class UiTextInterpreter

java.lang.Object
  extended by com.google.gwt.uibinder.elementparsers.UiTextInterpreter
All Implemented Interfaces:
com.google.gwt.uibinder.rebind.XMLElement.Interpreter<java.lang.String>
Direct Known Subclasses:
UiSafeHtmlInterpreter

public class UiTextInterpreter
extends java.lang.Object
implements com.google.gwt.uibinder.rebind.XMLElement.Interpreter<java.lang.String>

Interprets generic message tags like: <ui:text from="{myMsg.message}" />. It's called in both text and HTML contexts.


Nested Class Summary
protected  class UiTextInterpreter.Delegate
          Used in interpretElement(com.google.gwt.uibinder.rebind.XMLElement) to invoke the ComputedAttributeInterpreter.
 
Field Summary
protected  com.google.gwt.uibinder.elementparsers.ComputedAttributeInterpreter computedAttributeInterpreter
           
protected  com.google.gwt.uibinder.rebind.UiBinderWriter writer
           
 
Constructor Summary
UiTextInterpreter(com.google.gwt.uibinder.rebind.UiBinderWriter writer)
           
 
Method Summary
protected  com.google.gwt.uibinder.elementparsers.ComputedAttributeInterpreter createComputedAttributeInterpreter()
           
protected  java.lang.String getLocalName()
           
 java.lang.String interpretElement(com.google.gwt.uibinder.rebind.XMLElement elem)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

writer

protected final com.google.gwt.uibinder.rebind.UiBinderWriter writer

computedAttributeInterpreter

protected final com.google.gwt.uibinder.elementparsers.ComputedAttributeInterpreter computedAttributeInterpreter
Constructor Detail

UiTextInterpreter

public UiTextInterpreter(com.google.gwt.uibinder.rebind.UiBinderWriter writer)
Method Detail

interpretElement

public java.lang.String interpretElement(com.google.gwt.uibinder.rebind.XMLElement elem)
                                  throws UnableToCompleteException
Specified by:
interpretElement in interface com.google.gwt.uibinder.rebind.XMLElement.Interpreter<java.lang.String>
Throws:
UnableToCompleteException

createComputedAttributeInterpreter

protected com.google.gwt.uibinder.elementparsers.ComputedAttributeInterpreter createComputedAttributeInterpreter()

getLocalName

protected java.lang.String getLocalName()

GWT 2.4.0