Package | Description |
---|---|
com.google.gwt.uibinder.elementparsers |
Classes that parse XML elements, using the context to generate widget initialization code.
|
com.google.gwt.uibinder.rebind | |
com.google.gwt.uibinder.rebind.messages |
Modifier and Type | Class and Description |
---|---|
class |
HtmlInterpreter
This is the most generally useful interpreter, and the most likely to be used
by a custom parser when calling
XMLElement.consumeInnerHtml(com.google.gwt.uibinder.rebind.XMLElement.Interpreter<java.lang.String>) . |
class |
HtmlMessageInterpreter
Processes
|
class |
SimpleInterpeter<T>
A simple
XMLElement.Interpreter that returns a given value to every
request. |
class |
TextInterpreter
The interpreter of choice for calls to
XMLElement.consumeInnerText(com.google.gwt.uibinder.rebind.XMLElement.PostProcessingInterpreter<java.lang.String>) . |
class |
TextPlaceholderInterpreter
Interprets the interior of text message.
|
class |
UiSafeHtmlInterpreter
Interprets generic message tags like:
<ui:safehtml from="{myMsg.message}" />.
|
class |
UiTextInterpreter
Interprets generic message tags like:
<ui:text from="{myMsg.message}" />.
|
Constructor and Description |
---|
HtmlInterpreter(UiBinderWriter writer,
String ancestorExpression,
XMLElement.Interpreter<String> messageInterpreter)
Rather than using this constructor, you probably want to use the
HtmlInterpreter.newInterpreterForUiObject(com.google.gwt.uibinder.rebind.UiBinderWriter, java.lang.String) factory method. |
Modifier and Type | Interface and Description |
---|---|
static interface |
XMLElement.PostProcessingInterpreter<T>
Extends
XMLElement.Interpreter with a method to be called after all elements
have been processed. |
Modifier and Type | Class and Description |
---|---|
class |
NullInterpreter<T>
An no-op interpreter.
|
Modifier and Type | Method and Description |
---|---|
Collection<XMLElement> |
XMLElement.consumeChildElements(XMLElement.Interpreter<Boolean> interpreter)
Consumes and returns all child elements selected by the interpreter.
|
String |
XMLElement.consumeInnerHtml(XMLElement.Interpreter<String> interpreter)
Consumes all child elements, and returns an HTML interpretation of them.
|
String |
XMLElement.consumeInnerTextEscapedAsHtmlStringLiteral(XMLElement.Interpreter<String> interpreter)
Consumes all child text nodes, and asserts that this element held only
text.
|
String |
XMLElement.consumeInnerTextEscapedAsStringLiteral(XMLElement.Interpreter<String> interpreter)
Consumes all child text nodes, and asserts that this element held only
text.
|
Modifier and Type | Class and Description |
---|---|
class |
PlaceholderInterpreter
Abstract class performs the heavy lifting for processing ph children of a msg
element.
|
Copyright © 2016. All rights reserved.