Package io.wcm.handler.commons.dom
Class Video
- java.lang.Object
-
- org.jdom2.Content
-
- org.jdom2.Element
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable,org.jdom2.NamespaceAware,org.jdom2.Parent
@ProviderType public final class Video extends AbstractNonSelfClosingHtmlElement<Video>
Html video (video) element.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Video()Initializes html element.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetHeight()Html "height" attribute.java.lang.StringgetPoster()Html "poster" attribute.java.lang.StringgetPreload()Html "preload" attribute.java.lang.StringgetSrc()Html "src" attribute.longgetWidth()Html "poster" attribute.booleanisAutoPlay()Html "autoplay" attribute.booleanisControls()Html "controls" attribute.booleanisLoop()Html "loop" attribute.booleanisMuted()Html "muted" attribute.VideosetAutoPlay(boolean value)Html "autoplay" attribute.VideosetControls(boolean value)Html "controls" attribute.VideosetHeight(long value)Html "height" attribute.VideosetLoop(boolean value)Html "loop" attribute.VideosetMuted(boolean value)Html "muted" attribute.VideosetPoster(java.lang.String value)Html "poster" attribute.VideosetPreload(java.lang.String value)Html "preload" attribute.VideosetSrc(java.lang.String value)Html "src" attribute.VideosetWidth(long value)Html "poster" attribute.-
Methods inherited from class io.wcm.handler.commons.dom.HtmlElement
add, addCssClass, getCssClass, getData, getEmptyAttributeValueAsBoolean, getId, getStyle, getStyles, getStyleString, getTitle, setCssClass, setData, setEmptyAttributeValueAsBoolean, setId, setStyle, setStyleString, setTitle
-
Methods inherited from class io.wcm.handler.commons.dom.AbstractHtmlElementFactory
create, createAnchor, createAnchor, createAnchor, createAudio, createComment, createDiv, createFigCaption, createFigure, createImage, createImage, createImage, createImage, createImage, createNoScript, createScript, createScript, createSource, createSpan, createSpan, createVideo
-
Methods inherited from class io.wcm.handler.commons.dom.AbstractElement
add, addContent, addContent, addContent, addContent, addContent, getAttributeValueAsInteger, getAttributeValueAsLong, setAttribute, setAttribute, setAttributeValueAsInteger, setAttributeValueAsLong, setName, setText, toString, toStringContentOnly
-
Methods inherited from class org.jdom2.Element
addNamespaceDeclaration, canContainContent, clone, cloneContent, coalesceText, detach, getAdditionalNamespaces, getAttribute, getAttribute, getAttributes, getAttributesSize, getAttributeValue, getAttributeValue, getAttributeValue, getAttributeValue, getChild, getChild, getChildren, getChildren, getChildren, getChildText, getChildText, getChildTextNormalize, getChildTextNormalize, getChildTextTrim, getChildTextTrim, getContent, getContent, getContent, getContentSize, getDescendants, getDescendants, getName, getNamespace, getNamespace, getNamespacePrefix, getNamespacesInherited, getNamespacesInScope, getNamespacesIntroduced, getNamespaceURI, getQualifiedName, getText, getTextNormalize, getTextTrim, getValue, getXMLBaseURI, hasAdditionalNamespaces, hasAttributes, indexOf, isAncestor, isRootElement, removeAttribute, removeAttribute, removeAttribute, removeChild, removeChild, removeChildren, removeChildren, removeContent, removeContent, removeContent, removeContent, removeNamespaceDeclaration, setAttribute, setAttributes, setContent, setContent, setContent, setContent, setNamespace, sortAttributes, sortChildren, sortContent, sortContent
-
Methods inherited from class org.jdom2.Content
equals, getCType, getDocument, getParent, getParentElement, hashCode, setParent
-
-
-
-
Method Detail
-
isAutoPlay
public boolean isAutoPlay()
Html "autoplay" attribute.- Returns:
- Value of attribute
-
setAutoPlay
public Video setAutoPlay(boolean value)
Html "autoplay" attribute.- Parameters:
value- Value of attribute- Returns:
- Self reference
-
isControls
public boolean isControls()
Html "controls" attribute.- Returns:
- Value of attribute
-
setControls
public Video setControls(boolean value)
Html "controls" attribute.- Parameters:
value- Value of attribute- Returns:
- Self reference
-
isLoop
public boolean isLoop()
Html "loop" attribute.- Returns:
- Value of attribute
-
setLoop
public Video setLoop(boolean value)
Html "loop" attribute.- Parameters:
value- Value of attribute- Returns:
- Self reference
-
isMuted
public boolean isMuted()
Html "muted" attribute.- Returns:
- Value of attribute
-
setMuted
public Video setMuted(boolean value)
Html "muted" attribute.- Parameters:
value- Value of attribute- Returns:
- Self reference
-
getPoster
public java.lang.String getPoster()
Html "poster" attribute.- Returns:
- Value of attribute
-
setPoster
public Video setPoster(java.lang.String value)
Html "poster" attribute.- Parameters:
value- Value of attribute- Returns:
- Self reference
-
getPreload
public java.lang.String getPreload()
Html "preload" attribute.- Returns:
- Value of attribute
-
setPreload
public Video setPreload(java.lang.String value)
Html "preload" attribute.- Parameters:
value- Value of attribute- Returns:
- Self reference
-
getSrc
public java.lang.String getSrc()
Html "src" attribute.- Returns:
- Value of attribute
-
setSrc
public Video setSrc(java.lang.String value)
Html "src" attribute.- Parameters:
value- Value of attribute- Returns:
- Self reference
-
getHeight
public long getHeight()
Html "height" attribute.- Returns:
- Value of attribute
-
setHeight
public Video setHeight(long value)
Html "height" attribute.- Parameters:
value- Value of attribute- Returns:
- Self reference
-
getWidth
public long getWidth()
Html "poster" attribute.- Returns:
- Value of attribute
-
setWidth
public Video setWidth(long value)
Html "poster" attribute.- Parameters:
value- Value of attribute- Returns:
- Self reference
-
-