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

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

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

   public A(Z parent) {
      super(parent, "a");
   }

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

   public A self() {
      return this;
   }

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

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

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

   public A attrTarget(EnumTargetBrowsingContext attrTarget) {
      return (A)this.addAttr(new AttrTargetEnumTargetBrowsingContext(attrTarget));
   }

   public A attrPing(java.lang.Object attrPing) {
      return (A)this.addAttr(new AttrPingObject(attrPing));
   }

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

   public A attrMedia(java.lang.Object attrMedia) {
      return (A)this.addAttr(new AttrMediaObject(attrMedia));
   }

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

   public A attrType(EnumTypeSimpleContentType attrType) {
      return (A)this.addAttr(new AttrTypeEnumTypeSimpleContentType(attrType));
   }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy