public class

DomElementParser

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

Class Overview

Parses a dom element and all of its children. Note that this parser does not make recursive calls to parse child elements, unlike what goes on with widget parsers. Instead, we consume the inner html of the given element into a single string literal, used to instantiate the dom tree at run time.

Summary

Public Constructors
DomElementParser()
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 DomElementParser ()

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