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

org.xmlet.htmlapi.Option 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;

public class Option extends AbstractElement, Z> implements CommonAttributeGroup, Z>, TextGroup, Z> {
   public Option() {
      super("option");
   }

   public Option(String name) {
      super(name);
   }

   public Option(Z parent) {
      super(parent, "option");
   }

   public Option(Z parent, String name) {
      super(parent, name);
   }

   public Option self() {
      return this;
   }

   public void accept(ElementVisitor visitor) {
      visitor.visit(this);
   }

   public Option cloneElem() {
      return (Option)this.clone(new Option());
   }

   public Option attrDisabled(EnumDisabledOption attrDisabled) {
      return (Option)this.addAttr(new AttrDisabledEnumDisabledOption(attrDisabled));
   }

   public Option attrSelected(EnumSelectedOption attrSelected) {
      return (Option)this.addAttr(new AttrSelectedEnumSelectedOption(attrSelected));
   }

   public Option attrLabel(java.lang.Object attrLabel) {
      return (Option)this.addAttr(new AttrLabelObject(attrLabel));
   }

   public Option attrValue(java.lang.Object attrValue) {
      return (Option)this.addAttr(new AttrValueObject(attrValue));
   }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy