com.google.gwt.uibinder.elementparsers
Class HtmlMessageInterpreter
java.lang.Object
com.google.gwt.uibinder.elementparsers.HtmlMessageInterpreter
- All Implemented Interfaces:
- XMLElement.Interpreter<java.lang.String>
public class HtmlMessageInterpreter
- extends java.lang.Object
- implements XMLElement.Interpreter<java.lang.String>
Processes elements inside HTML values, which themselves
are allowed to contain HTML. That HTML may hold elements with
ui:field attributes and computed attributes, which must be
replaced by placeholders in the generated message.
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HtmlMessageInterpreter
public HtmlMessageInterpreter(UiBinderWriter uiWriter,
HtmlMessageInterpreter.PlaceholderInterpreterProvider phiProvider)
- Build a HtmlMessageInterpreter that uses customized placeholder interpreter
instances.
HtmlMessageInterpreter
public HtmlMessageInterpreter(UiBinderWriter uiWriter,
java.lang.String ancestorExpression)
- Build a normally configured HtmlMessageInterpreter, able to handle
put placeholders around dom elements with ui:ph attributes and computed
attributes.
interpretElement
public java.lang.String interpretElement(XMLElement elem)
throws UnableToCompleteException
- Description copied from interface:
XMLElement.Interpreter
- Given an XMLElement, return its filtered value.
- Specified by:
interpretElement in interface XMLElement.Interpreter<java.lang.String>
- Throws:
UnableToCompleteException - on error