Copyright© 2008-2018 SiteVision AB, all rights reserved.
public enum SourceSetMode extends Enum<SourceSetMode>
srcset
attribute should be rendered.Enum Constant and Description |
---|
AUTO
Will render a srcset attribute if the website is responsive and the doctype is HTML5.
|
OFF
Will not render a
srcset attribute. |
ON
Will render a
srcset attribute. |
Modifier and Type | Method and Description |
---|---|
static SourceSetMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SourceSetMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@Requireable(value="SourceSetMode.AUTO") public static final SourceSetMode AUTO
@Requireable(value="SourceSetMode.ON") public static final SourceSetMode ON
srcset
attribute.@Requireable(value="SourceSetMode.OFF") public static final SourceSetMode OFF
srcset
attribute.public static SourceSetMode[] values()
for (SourceSetMode c : SourceSetMode.values()) System.out.println(c);
public static SourceSetMode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullSiteVision - Portal and Content Management Made Easy
SiteVision is an advanced Java enterprise portal product and a portlet container (JSR 286) that implements Java Content Repository (JSR 283).
Copyright© 2008-2018 SiteVision AB, all rights reserved.