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

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

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

   public Img(Z parent) {
      super(parent, "img");
   }

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

   public Img self() {
      return this;
   }

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

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

   public Img attrAlt(java.lang.Object attrAlt) {
      return (Img)this.addAttr(new AttrAltObject(attrAlt));
   }

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

   public Img attrHeight(java.lang.Object attrHeight) {
      return (Img)this.addAttr(new AttrHeightObject(attrHeight));
   }

   public Img attrWidth(java.lang.Object attrWidth) {
      return (Img)this.addAttr(new AttrWidthObject(attrWidth));
   }

   public Img attrUsemap(String attrUsemap) {
      return (Img)this.addAttr(new AttrUsemapString(attrUsemap));
   }

   public Img attrIsmap(EnumIsmapImg attrIsmap) {
      return (Img)this.addAttr(new AttrIsmapEnumIsmapImg(attrIsmap));
   }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy