com.google.gwt.uibinder.elementparsers
Class HasWidgetsParser
java.lang.Object
com.google.gwt.uibinder.elementparsers.HasWidgetsParser
- All Implemented Interfaces:
- ElementParser
public class HasWidgetsParser
- extends java.lang.Object
- implements ElementParser
Parses any widgets that implement
HasWidgets.
This handles all panels that support a single-argument add() method.
|
Method Summary |
void |
parse(XMLElement elem,
java.lang.String fieldName,
JClassType type,
UiBinderWriter writer)
Parse the given element, generating the code to initialize it from the
element's attributes and children. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HasWidgetsParser
public HasWidgetsParser()
parse
public void parse(XMLElement elem,
java.lang.String fieldName,
JClassType type,
UiBinderWriter writer)
throws UnableToCompleteException
- Description copied from interface:
ElementParser
- Parse the given element, generating the code to initialize it from the
element's attributes and children.
- Specified by:
parse in interface ElementParser
- Parameters:
elem - the element to be parsedfieldName - the name of the widget field to be initializedtype - TODOwriter - the writer
- Throws:
UnableToCompleteException - on error