Package io.wcm.handler.commons.dom
Class Source
- java.lang.Object
-
- org.jdom2.Content
-
- org.jdom2.Element
-
- io.wcm.handler.commons.dom.AbstractElement<T>
-
- io.wcm.handler.commons.dom.AbstractHtmlElementFactory<T>
-
- io.wcm.handler.commons.dom.HtmlElement<Source>
-
- io.wcm.handler.commons.dom.Source
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable,org.jdom2.NamespaceAware,org.jdom2.Parent
@ProviderType public class Source extends HtmlElement<Source>
Html source (source) element.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Source()Initializes html element.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetMedia()Html "media" attribute.java.lang.StringgetSizes()Html "sizes" attribute.java.lang.StringgetSrc()Html "src" attribute.java.lang.StringgetSrcSet()Html "srcset" attribute.java.lang.StringgetType()Html "type" attribute.SourcesetMedia(java.lang.String value)Html "media" attribute.SourcesetSizes(java.lang.String value)Html "sizes" attribute.SourcesetSrc(java.lang.String value)Html "src" attribute.SourcesetSrcSet(java.lang.String value)Html "srcset" attribute.SourcesetType(java.lang.String value)Html "type" 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
-
getMedia
public java.lang.String getMedia()
Html "media" attribute.- Returns:
- Value of attribute
-
setMedia
public Source setMedia(java.lang.String value)
Html "media" attribute.- Parameters:
value- Value of attribute- Returns:
- Self reference
-
getSrc
public java.lang.String getSrc()
Html "src" attribute.- Returns:
- Value of attribute
-
setSrc
public Source setSrc(java.lang.String value)
Html "src" attribute.- Parameters:
value- Value of attribute- Returns:
- Self reference
-
getSrcSet
public java.lang.String getSrcSet()
Html "srcset" attribute.- Returns:
- Value of attribute
-
setSrcSet
public Source setSrcSet(java.lang.String value)
Html "srcset" attribute.- Parameters:
value- Value of attribute- Returns:
- Self reference
-
getSizes
public java.lang.String getSizes()
Html "sizes" attribute.- Returns:
- Value of attribute
-
setSizes
public Source setSizes(java.lang.String value)
Html "sizes" attribute.- Parameters:
value- Value of attribute- Returns:
- Self reference
-
getType
public java.lang.String getType()
Html "type" attribute.- Returns:
- Value of attribute
-
setType
public Source setType(java.lang.String value)
Html "type" attribute.- Parameters:
value- Value of attribute- Returns:
- Self reference
-
-