Class UIObjectParser
- java.lang.Object
-
- com.google.gwt.uibinder.elementparsers.UIObjectParser
-
- All Implemented Interfaces:
ElementParser
public class UIObjectParser extends java.lang.Object implements ElementParser
Parser of all UIObject types. Provides parsing of debugId, addStyleNames, addStyleDependentNames. Also handles other setStyle* calls to ensure they happen before the addStyle* calls.
-
-
Constructor Summary
Constructors Constructor Description UIObjectParser()
-
Method Summary
All Methods Instance Methods Concrete 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
public void parse(com.google.gwt.uibinder.rebind.XMLElement elem, java.lang.String fieldName, JClassType type, com.google.gwt.uibinder.rebind.UiBinderWriter writer) throws UnableToCompleteExceptionDescription copied from interface:ElementParserParse the given element, generating the code to initialize it from the element's attributes and children.- Specified by:
parsein interfaceElementParser- Parameters:
elem- the element to be parsedfieldName- the name of the widget field to be initializedtype- TODOwriter- the writer- Throws:
UnableToCompleteException- on error
-
-