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

org.xmlet.htmlapi.Script 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 Script extends AbstractElement, Z> implements CoreAttributeGroup, Z>, TextGroup, Z> {
   public Script() {
      super("script");
   }

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

   public Script(Z parent) {
      super(parent, "script");
   }

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

   public Script self() {
      return this;
   }

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

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

   public Script attrCharset(String attrCharset) {
      return (Script)this.addAttr(new AttrCharsetString(attrCharset));
   }

   public Script attrType(EnumTypeScript attrType) {
      return (Script)this.addAttr(new AttrTypeEnumTypeScript(attrType));
   }

   public Script attrSrc(String attrSrc) {
      return (Script)this.addAttr(new AttrSrcString(attrSrc));
   }

   public Script attrDefer(EnumDeferScript attrDefer) {
      return (Script)this.addAttr(new AttrDeferEnumDeferScript(attrDefer));
   }

   public Script attrAsync(EnumAsyncScript attrAsync) {
      return (Script)this.addAttr(new AttrAsyncEnumAsyncScript(attrAsync));
   }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy