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

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

There is a newer version: 0.4.0
Show newest version
package br.com.objectos.html;

import javax.annotation.Generated;

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

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

  public static class Body0 extends Body {
    Body0() {
    }

    public H1.H11 h1() {
      return addElement(new H1.H11<>(this));
    }

    public H2.H21 h2() {
      return addElement(new H2.H21<>(this));
    }

    public H3.H31 h3() {
      return addElement(new H3.H31<>(this));
    }

    public H4.H41 h4() {
      return addElement(new H4.H41<>(this));
    }

    public H5.H51 h5() {
      return addElement(new H5.H51<>(this));
    }

    public H6.H61 h6() {
      return addElement(new H6.H61<>(this));
    }

    public P.P1 p() {
      return addElement(new P.P1<>(this));
    }

    public Body0 _body() {
      return this;
    }

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

  public static class Body1 extends Body> {
    private final E1 parent;

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

    public H1.H12, E1> h1() {
      return addElement(new H1.H12<>(this));
    }

    public H2.H22, E1> h2() {
      return addElement(new H2.H22<>(this));
    }

    public H3.H32, E1> h3() {
      return addElement(new H3.H32<>(this));
    }

    public H4.H42, E1> h4() {
      return addElement(new H4.H42<>(this));
    }

    public H5.H52, E1> h5() {
      return addElement(new H5.H52<>(this));
    }

    public H6.H62, E1> h6() {
      return addElement(new H6.H62<>(this));
    }

    public P.P2, E1> p() {
      return addElement(new P.P2<>(this));
    }

    public E1 _body() {
      return parent;
    }

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

  public static class Body2 extends Body> {
    private final E2 parent;

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

    public E2 _body() {
      return parent;
    }

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy