All Downloads are FREE. Search and download functionalities are using the official Maven repository.

xapi.dev.ui.html.HtmlGeneratorNode Maven / Gradle / Ivy

Go to download

Everything needed to run a comprehensive dev environment. Just type X_ and pick a service from autocomplete; new dev modules will be added as they are built. The only dev service not included in the uber jar is xapi-dev-maven, as it includes all runtime dependencies of maven, adding ~4 seconds to build time, and 6 megabytes to the final output jar size (without xapi-dev-maven, it's ~1MB).

The newest version!
package xapi.dev.ui.html;

import static xapi.collect.X_Collect.newList;
import static xapi.collect.X_Collect.newStringMap;

import javax.inject.Named;

import xapi.annotation.compile.Import;
import xapi.collect.api.IntTo;
import xapi.collect.api.StringTo;
import xapi.ui.html.api.Css;
import xapi.ui.html.api.El;
import xapi.ui.html.api.Html;
import xapi.ui.html.api.HtmlTemplate;
import xapi.ui.html.api.NoUi;
import xapi.ui.html.api.Style;

import com.google.gwt.core.ext.typeinfo.HasAnnotations;
import com.google.gwt.core.ext.typeinfo.JClassType;
import com.google.gwt.core.ext.typeinfo.JMethod;

public class HtmlGeneratorNode {

  private final HasAnnotations source;
  private final String name;
  private final StringTo children;
  private final IntTo elements;
  final IntTo templates;
  private final StringTo namedTemplates;
  private final IntTo