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

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

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

   public Link(Z parent) {
      super(parent, "link");
   }

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

   public Link self() {
      return this;
   }

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

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

   public Link attrHref(String attrHref) {
      return (Link)this.addAttr(new AttrHrefString(attrHref));
   }

   public Link attrHreflang(java.lang.Object attrHreflang) {
      return (Link)this.addAttr(new AttrHreflangObject(attrHreflang));
   }

   public Link attrRel(EnumRelLinkType attrRel) {
      return (Link)this.addAttr(new AttrRelEnumRelLinkType(attrRel));
   }

   public Link attrMedia(EnumMediaMediaType attrMedia) {
      return (Link)this.addAttr(new AttrMediaEnumMediaMediaType(attrMedia));
   }

   public Link attrType(EnumTypeContentType attrType) {
      return (Link)this.addAttr(new AttrTypeEnumTypeContentType(attrType));
   }

   public Link attrSizes(java.lang.Object attrSizes) {
      return (Link)this.addAttr(new AttrSizesObject(attrSizes));
   }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy