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

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

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

   public Audio(Z parent) {
      super(parent, "audio");
   }

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

   public Audio self() {
      return this;
   }

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

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

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

   public Audio attrAutobuffer(EnumAutobufferAudio attrAutobuffer) {
      return (Audio)this.addAttr(new AttrAutobufferEnumAutobufferAudio(attrAutobuffer));
   }

   public Audio attrAutoplay(EnumAutoplayAudio attrAutoplay) {
      return (Audio)this.addAttr(new AttrAutoplayEnumAutoplayAudio(attrAutoplay));
   }

   public Audio attrLoop(EnumLoopAudio attrLoop) {
      return (Audio)this.addAttr(new AttrLoopEnumLoopAudio(attrLoop));
   }

   public Audio attrControls(EnumControlsAudio attrControls) {
      return (Audio)this.addAttr(new AttrControlsEnumControlsAudio(attrControls));
   }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy