Interface ElementParser
-
- All Known Implementing Classes:
AbsolutePanelParser,AttributeMessageParser,BeanParser,CellPanelParser,CustomButtonParser,DateLabelParser,DialogBoxParser,DisclosurePanelParser,DockLayoutPanelParser,DockPanelParser,DomElementParser,FlowPanelParser,GridParser,HasAlignmentParser,HasHTMLParser,HasTextParser,HasTreeItemsParser,HasWidgetsParser,HTMLPanelParser,ImageParser,IsEmptyParser,LayoutPanelParser,LazyPanelParser,ListBoxParser,MenuBarParser,MenuItemParser,NumberLabelParser,RenderablePanelParser,StackLayoutPanelParser,StackPanelParser,TabLayoutPanelParser,TabPanelParser,UiChildParser,UIObjectParser
public interface ElementParserElement parsers are classes that parse xml elements, using the context to generate widget initialization code.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidparse(com.google.gwt.uibinder.rebind.XMLElement elem, java.lang.String fieldName, JClassType type, com.google.gwt.uibinder.rebind.UiBinderWriter writer)Parse the given element, generating the code to initialize it from the element's attributes and children.
-
-
-
Method Detail
-
parse
void parse(com.google.gwt.uibinder.rebind.XMLElement elem, java.lang.String fieldName, JClassType type, com.google.gwt.uibinder.rebind.UiBinderWriter writer) throws UnableToCompleteExceptionParse the given element, generating the code to initialize it from the element's attributes and children.- Parameters:
elem- the element to be parsedfieldName- the name of the widget field to be initializedtype- TODOwriter- the writer- Throws:
UnableToCompleteException- on error
-
-