GWT 2.7.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 ComputedAttributeInterpreter.interpretElement(com.google.gwt.uibinder.rebind.XMLElement) to invoke the ComputedAttributeInterpreter.
 
Field Summary
protected  ComputedAttributeInterpreter computedAttributeInterpreter
           
protected  com.google.gwt.uibinder.rebind.UiBinderWriter writer
           
 
Constructor Summary
UiTextInterpreter(com.google.gwt.uibinder.rebind.UiBinderWriter writer)
           
 
Method Summary
protected  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 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 ComputedAttributeInterpreter createComputedAttributeInterpreter()

getLocalName

protected java.lang.String getLocalName()

GWT 2.7.0