Package io.wcm.handler.commons.dom
Class Audio
- 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 Audio extends AbstractNonSelfClosingHtmlElement<Audio>
Html audio (audio) element.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Audio()Initializes html element.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetPreload()Html "preload" attribute.java.lang.StringgetSrc()Html "src" attribute.booleanisAutoPlay()Html "autoplay" attribute.booleanisControls()Html "controls" attribute.booleanisLoop()Html "loop" attribute.AudiosetAutoPlay(boolean value)Html "autoplay" attribute.AudiosetControls(boolean value)Html "controls" attribute.AudiosetLoop(boolean value)Html "loop" attribute.AudiosetPreload(java.lang.String value)Html "preload" attribute.AudiosetSrc(java.lang.String value)Html "src" 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 Audio 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 Audio 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 Audio setLoop(boolean value)
Html "loop" attribute.- Parameters:
value- Value of attribute- Returns:
- Self reference
-
getPreload
public java.lang.String getPreload()
Html "preload" attribute.- Returns:
- Value of attribute
-
setPreload
public Audio 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 Audio setSrc(java.lang.String value)
Html "src" attribute.- Parameters:
value- Value of attribute- Returns:
- Self reference
-
-