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.
  • Field Details

    • writer

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

      protected final ComputedAttributeInterpreter 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 interface com.google.gwt.uibinder.rebind.XMLElement.Interpreter<String>
      Throws:
      UnableToCompleteException - on error
    • createComputedAttributeInterpreter

      protected ComputedAttributeInterpreter createComputedAttributeInterpreter()
    • getLocalName

      protected String getLocalName()