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

br.com.objectos.html.Div Maven / Gradle / Ivy

The newest version!
package br.com.objectos.html;

import javax.annotation.Generated;

@Generated("br.com.objectos.html.ProtoTypeProcessor")
public abstract class Div> extends DivProto {
  Div() {
  }

  public static Div0 get() {
    return new Div0();
  }

  public E div(Div child) {
    return addOneElement(child);
  }

  public E div(Iterable children) {
    return addManyElements(children);
  }

  public static class Div0 extends Div {
    Div0() {
    }

    public Div1 div() {
      return addElement(new Div1<>(this));
    }

    public Div0 _div() {
      return this;
    }

    @Override
    Div0 self() {
      return this;
    }
  }

  public static class Div1 extends Div> {
    private final E1 parent;

    Div1(E1 parent) {
      this.parent = parent;
    }

    public Div2, E1> div() {
      return addElement(new Div2<>(this));
    }

    public E1 _div() {
      return parent;
    }

    @Override
    Div1 self() {
      return this;
    }
  }

  public static class Div2 extends Div> {
    private final E2 parent;

    Div2(E2 parent) {
      this.parent = parent;
    }

    public Div3, E2, E1> div() {
      return addElement(new Div3<>(this));
    }

    public E2 _div() {
      return parent;
    }

    @Override
    Div2 self() {
      return this;
    }
  }

  public static class Div3 extends Div> {
    private final E3 parent;

    Div3(E3 parent) {
      this.parent = parent;
    }

    public Div4, E3, E2, E1> div() {
      return addElement(new Div4<>(this));
    }

    public E3 _div() {
      return parent;
    }

    @Override
    Div3 self() {
      return this;
    }
  }

  public static class Div4 extends Div> {
    private final E4 parent;

    Div4(E4 parent) {
      this.parent = parent;
    }

    public Div5, E4, E3, E2, E1> div() {
      return addElement(new Div5<>(this));
    }

    public E4 _div() {
      return parent;
    }

    @Override
    Div4 self() {
      return this;
    }
  }

  public static class Div5 extends Div> {
    private final E5 parent;

    Div5(E5 parent) {
      this.parent = parent;
    }

    public Div6, E5, E4, E3, E2, E1> div() {
      return addElement(new Div6<>(this));
    }

    public E5 _div() {
      return parent;
    }

    @Override
    Div5 self() {
      return this;
    }
  }

  public static class Div6 extends Div> {
    private final E6 parent;

    Div6(E6 parent) {
      this.parent = parent;
    }

    public E6 _div() {
      return parent;
    }

    @Override
    Div6 self() {
      return this;
    }
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy