Class TextInterpreter

  • All Implemented Interfaces:
    com.google.gwt.uibinder.rebind.XMLElement.Interpreter<java.lang.String>

    public class TextInterpreter
    extends java.lang.Object
    implements com.google.gwt.uibinder.rebind.XMLElement.Interpreter<java.lang.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

      Constructors 
      Constructor Description
      TextInterpreter​(com.google.gwt.uibinder.rebind.UiBinderWriter writer)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String interpretElement​(com.google.gwt.uibinder.rebind.XMLElement elem)
      Given an XMLElement, return its filtered value.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TextInterpreter

        public TextInterpreter​(com.google.gwt.uibinder.rebind.UiBinderWriter writer)
    • Method Detail

      • interpretElement

        public java.lang.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<java.lang.String>
        Throws:
        UnableToCompleteException - on error