Class UiChildParser

java.lang.Object
com.google.gwt.uibinder.elementparsers.UiChildParser
All Implemented Interfaces:
ElementParser

public class UiChildParser extends Object implements ElementParser
Parses any children of widgets that use the UIChild annotation.
  • Constructor Summary

    Constructors
    Constructor
    Description
    UiChildParser(com.google.gwt.uibinder.rebind.UiBinderContext uiBinderCtx)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    parse(com.google.gwt.uibinder.rebind.XMLElement elem, String fieldName, JClassType type, com.google.gwt.uibinder.rebind.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

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • UiChildParser

      public UiChildParser(com.google.gwt.uibinder.rebind.UiBinderContext uiBinderCtx)
      Parameters:
      uiBinderCtx -
  • Method Details

    • parse

      public void parse(com.google.gwt.uibinder.rebind.XMLElement elem, String fieldName, JClassType type, com.google.gwt.uibinder.rebind.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 parsed
      fieldName - the name of the widget field to be initialized
      type - TODO
      writer - the writer
      Throws:
      UnableToCompleteException - on error