All Implemented Interfaces:
Copyable, XMLNode, Serializable

public class Video extends Component
Video Tag Class Used to parse video tag with XStream Default HTML video tag
Author:
David FUENTES - 09/MAR/2016
See Also:
  • Constructor Details

    • Video

      public Video()
  • Method Details

    • copy

      public Video copy()
      Description copied from interface: Copyable
      Get a copy of this element
      Returns:
      element copy
    • getControls

      public String getControls()
      Returns controls value for the video
      Returns:
      controls
    • setControls

      public void setControls(String controls)
      Stores the controls value for the video
      Parameters:
      controls - video controls
    • getSrc

      public String getSrc()
      Returns the src attribute value
      Returns:
      src attribute
    • setSrc

      public void setSrc(String src)
      Stores the source attribute value
      Parameters:
      src - source attribute
    • getPoster

      public String getPoster()
      Returns the poster attribute value
      Returns:
      poster attribute
    • setPoster

      public void setPoster(String poster)
      Stores the poster attribute value
      Parameters:
      poster - poster attribute
    • getAutoplay

      public String getAutoplay()
      Returns the autoplay attribute value
      Returns:
      autoplay
    • setAutoplay

      public void setAutoplay(String autoplay)
      Stores the autoplay attribute value
      Parameters:
      autoplay - autoplay attribute
    • getPreload

      public String getPreload()
      Returns the preload attribute value
      Returns:
      String
    • setPreload

      public void setPreload(String preload)
      Stores the preload attribute value
      Parameters:
      preload - preload attribute
    • getLoop

      public String getLoop()
      Returns the tag loop attribute
      Returns:
      Tag Text
    • setLoop

      public void setLoop(String loop)
      Stores the loop attribute value
      Parameters:
      loop - Tag loop
    • getComponentTag

      public String getComponentTag()
      Retrieve component tag
      Overrides:
      getComponentTag in class Component
      Returns:
      video tag