List of usage examples for com.google.gwt.uibinder.rebind XMLElement consumeRequiredIntAttribute
public String consumeRequiredIntAttribute(String name) throws UnableToCompleteException
From source file:com.jhickman.web.gwt.gxtuibinder.elementparsers.button.ButtonGroupParser.java
License:Apache License
@Override public void parse(XMLElement elem, String fieldName, JClassType type, UiBinderWriter writer) throws UnableToCompleteException { String columns = elem.consumeRequiredIntAttribute("columns"); writer.setFieldInitializerAsConstructor(fieldName, type, columns); }