Class 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 Detail

      • Source

        public Source()
        Initializes html element.
    • 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