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

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

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

   public Source(Z parent) {
      super(parent, "source");
   }

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

   public Source self() {
      return this;
   }

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

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

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

   public Source attrType(java.lang.Object attrType) {
      return (Source)this.addAttr(new AttrTypeObject(attrType));
   }

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy