Class TextInterpreter

All Implemented Interfaces:<String>

public class TextInterpreter extends Object implements<String>
The interpreter of choice for calls to XMLElement.consumeInnerText(<java.lang.String>). It handles <m:msg/> elements, replacing them with references to Messages interface calls.

Calls to XMLElement.consumeInnerHtml(<java.lang.String>) should instead use HtmlInterpreter

  • Constructor Details

    • TextInterpreter

      public TextInterpreter( writer)
  • Method Details

    • interpretElement

      public String interpretElement( elem) throws UnableToCompleteException
      Description copied from interface:
      Given an XMLElement, return its filtered value.
      Specified by:
      interpretElement in interface<String>
      UnableToCompleteException - on error