Java com.google.gwt.uibinder.rebind UiBinderWriter fields, constructors, methods, implement or subclass

Example usage for Java com.google.gwt.uibinder.rebind UiBinderWriter fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.google.gwt.uibinder.rebind UiBinderWriter.

The text is from its open source code.

Method

voidbeginAttachedSection(String element)
Begin a section where a new attachable element is being parsed--that is, one that will be constructed as a big innerHTML string, and then briefly attached to the dom to allow fields accessing its to be filled (at the moment, HasHTMLParser, HTMLPanelParser, and DomElementParser.).
FieldWriterdeclareField(XMLElement source, String typeName)
Declares a field of the given type name, returning the name of the declared field.
voiddie(String message, Object... params)
Post an error message and halt processing.
voiddie(XMLElement context, String message, Object... params)
Post an error message about a specific XMLElement and halt processing.
voiddie(String message)
Post an error message and halt processing.
voidendAttachedSection()
End the current attachable section.
StringescapeTextForJavaStringLiteral(String text)
Escape characters that would mess up interpretation of this string as a string literal in generated code (that is, protect \, \n and " ).
JClassTypefindFieldType(XMLElement elem)
Finds the JClassType that corresponds to this XMLElement, which must be a Widget or an Element.
voidgenStringPropertySet(String fieldName, String propName, String value)
Generates the code to set a string property.
TypeOraclegetOracle()
Gets the type oracle.
booleanisWidgetElement(XMLElement elem)
FieldWriterparseElementToField(XMLElement elem)
Parses the object associated with the specified element, and returns the field writer that will hold it.
voidsetFieldInitializer(String fieldName, String factoryMethod)
Gives the writer the initializer to use for this field instead of the default GWT.create call.
voidsetFieldInitializerAsConstructor(String fieldName, String... args)
Instructs the writer to initialize the field with a specific constructor invocation, instead of the default GWT.create call.
voidwarn(XMLElement context, String message, Object... params)
Post a warning message.