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

org.xmlet.htmlapi.TextGroup Maven / Gradle / Ivy

Go to download

Uses XsdAsm to generate a fluent API that allows the creation of HTML5 documents.

The newest version!
package org.xmlet.htmlapi;

import java.util.function.Function;

public interface TextGroup extends Element {
   default  T text(R text) {
      this.addChild(new Text(this, String.valueOf(text)));
      return this.self();
   }

   default  T comment(R text) {
      this.addChild(new Comment(this, String.valueOf(text)));
      return this.self();
   }

   default  T text(Function textFunction) {
      this.addChild(new TextFunction(this, textFunction));
      return this.self();
   }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy