public class

BeanParser

extends Object
implements ElementParser
java.lang.Object
   ↳ com.google.gwt.uibinder.elementparsers.BeanParser

Class Overview

Utility methods for discovering bean-like properties and generating code to initialize them.

Summary

Public Constructors
BeanParser(UiBinderContext context)
Public Methods
void parse(XMLElement elem, String fieldName, JClassType type, UiBinderWriter writer)
Generates code to initialize all bean attributes on the given element.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.google.gwt.uibinder.elementparsers.ElementParser

Public Constructors

public BeanParser (UiBinderContext context)

Public Methods

public void parse (XMLElement elem, String fieldName, JClassType type, UiBinderWriter writer)

Generates code to initialize all bean attributes on the given element. Includes support for <ui:attribute /> children that will apply to setters

Parameters
elem the element to be parsed
fieldName the name of the widget field to be initialized
type TODO
writer the writer
Throws
UnableToCompleteException