public class

AttributeMessageParser

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

Class Overview

This parser is not tied to a particular class of element, but rather is run as the first parser in any parser stack. It looks for attribute values that are set as calls to the template's generated Messages interface, by calling MessagesWriter.consumeAndStoreMessageAttributesFor

Summary

Public Constructors
AttributeMessageParser()
Public Methods
void parse(XMLElement elem, String fieldName, JClassType type, UiBinderWriter writer)
Parse the given element, generating the code to initialize it from the element's attributes and children.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.google.gwt.uibinder.elementparsers.ElementParser

Public Constructors

public AttributeMessageParser ()

Public Methods

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

Parse the given element, generating the code to initialize it from the element's attributes and children.

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