Package com.google.gwt.uibinder.elementparsers
package com.google.gwt.uibinder.elementparsers
Classes that parse XML elements, using the context to generate widget initialization code.
-
ClassDescriptionParses
AbsolutePanel
widgets.Examines each element for child <ui:attr/> elements, and replaces the corresponding attributes of the examinee with references to the translatable messages created.This parser is not tied to a particular class of element, but rather is run as the first parser in any parser stack.Utility methods for discovering bean-like properties and generating code to initialize them.ParsesCellPanel
widgets.Assigns computed values to element attributes, e.g.Parses CustomButton widgets.ParsesDateLabel
widgets.ParsesDialogBox
widgets.ParsesDisclosurePanel
widgets.ParsesDockLayoutPanel
widgets.ParsesDockPanel
widgets.Parses a dom element and all of its children.Element parsers are classes that parse xml elements, using the context to generate widget initialization code.Generates fields to hold named dom elements (e.g.ParsesFlowPanel
widgets.A parser for Grid rows and cells.Parses widgets that inherit fromHasAlignment
.Parses widgets that implementHasHTML
.Parses widgets that implementHasText
.ParsesTree
widgets.Parses any widgets that implementHasWidgets
.This is the most generally useful interpreter, and the most likely to be used by a custom parser when callingXMLElement.consumeInnerHtml(com.google.gwt.uibinder.rebind.XMLElement.Interpreter<java.lang.String>)
.Processes invalid input: '<'ui:msg> elements inside HTML values, which themselves are allowed to contain HTML.Provides instances ofPlaceholderInterpreter
, to allow customized handling of the innards of a msg element.ParsesHTMLPanel
widgets.Interprets the interior of an html message.Custom parsing of Image widgets.PairsXMLElement.Interpreter
instances.The last parser, asserts that everything has been consumed and so the template has nothing unexpected.Used byRenderablePanelParser
to interpret renderable elements.ParsesLayoutPanel
widgets.ParsesLazyPanel
widgets.A parser for ListBox items.ParsesMenuBar
widgets.A parser for menu items.ParsesDateLabel
widgets.ParsesRenderablePanel
widgets.A simpleXMLElement.Interpreter
that returns a given value to every request.ParsesStackLayoutPanel
widgets.ParsesStackPanel
widgets.ParsesTabLayoutPanel
widgets.ParsesTabPanel
widgets.The interpreter of choice for calls toXMLElement.consumeInnerText(com.google.gwt.uibinder.rebind.XMLElement.PostProcessingInterpreter<java.lang.String>)
.Interprets the interior of text message.Parses any children of widgets that use theUIChild
annotation.Parser of all UIObject types.Interprets generic message tags like: <ui:safehtml from="{myMsg.message}" />.Interprets generic message tags like: <ui:text from="{myMsg.message}" />.Used byHTMLPanelParser
to interpret elements that call for widget instances.Used byHTMLPanelParser
.