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

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

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

   public Video(Z parent) {
      super(parent, "video");
   }

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

   public Video self() {
      return this;
   }

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

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

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

   public Video attrAutobuffer(EnumAutobufferVideo attrAutobuffer) {
      return (Video)this.addAttr(new AttrAutobufferEnumAutobufferVideo(attrAutobuffer));
   }

   public Video attrAutoplay(EnumAutoplayVideo attrAutoplay) {
      return (Video)this.addAttr(new AttrAutoplayEnumAutoplayVideo(attrAutoplay));
   }

   public Video attrLoop(EnumLoopVideo attrLoop) {
      return (Video)this.addAttr(new AttrLoopEnumLoopVideo(attrLoop));
   }

   public Video attrControls(EnumControlsVideo attrControls) {
      return (Video)this.addAttr(new AttrControlsEnumControlsVideo(attrControls));
   }

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

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

   public Video attrPoster(java.lang.Object attrPoster) {
      return (Video)this.addAttr(new AttrPosterObject(attrPoster));
   }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy