Package com.helger.css
Enum ECSSVendorPrefix
- java.lang.Object
-
- java.lang.Enum<ECSSVendorPrefix>
-
- com.helger.css.ECSSVendorPrefix
-
- All Implemented Interfaces:
com.helger.commons.name.IHasDisplayName,Serializable,Comparable<ECSSVendorPrefix>
public enum ECSSVendorPrefix extends Enum<ECSSVendorPrefix> implements com.helger.commons.name.IHasDisplayName
Enumeration containing all known CSS vendor prefixes- Since:
- 3.9.0
- Author:
- Philip Helger
-
-
Enum Constant Summary
Enum Constants Enum Constant Description APPLESafari alternative prefixATSCAdvanced Television Standards CommitteeEPUBEPUBKHTMLKonqueror browserMICROSOFTMicrosoftMICROSOFT_OFFICEMicrosoft Office - no leading dash!MOZILLAMozillaOPERAOperaSCROLLBARMicrosoft - scrollbars - no leading dash!WAPThe WAP forumWEBKITSafari and other WebKit-based browsers
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDisplayName()static ECSSVendorPrefixgetFromPrefixOrNull(String sPrefix)StringgetPrefix()static ECSSVendorPrefixvalueOf(String name)Returns the enum constant of this type with the specified name.static ECSSVendorPrefix[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
APPLE
public static final ECSSVendorPrefix APPLE
Safari alternative prefix
-
ATSC
public static final ECSSVendorPrefix ATSC
Advanced Television Standards Committee
-
EPUB
public static final ECSSVendorPrefix EPUB
EPUB
-
KHTML
public static final ECSSVendorPrefix KHTML
Konqueror browser
-
MICROSOFT
public static final ECSSVendorPrefix MICROSOFT
Microsoft
-
MICROSOFT_OFFICE
public static final ECSSVendorPrefix MICROSOFT_OFFICE
Microsoft Office - no leading dash!
-
MOZILLA
public static final ECSSVendorPrefix MOZILLA
Mozilla
-
OPERA
public static final ECSSVendorPrefix OPERA
Opera
-
SCROLLBAR
public static final ECSSVendorPrefix SCROLLBAR
Microsoft - scrollbars - no leading dash!
-
WAP
public static final ECSSVendorPrefix WAP
The WAP forum
-
WEBKIT
public static final ECSSVendorPrefix WEBKIT
Safari and other WebKit-based browsers
-
-
Method Detail
-
values
public static ECSSVendorPrefix[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ECSSVendorPrefix c : ECSSVendorPrefix.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ECSSVendorPrefix valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getPrefix
@Nonnull @Nonempty public String getPrefix()
- Returns:
- The prefix used by this CSS vendor. Neither
nullnor empty.
-
getDisplayName
@Nonnull @Nonempty public String getDisplayName()
- Specified by:
getDisplayNamein interfacecom.helger.commons.name.IHasDisplayName
-
getFromPrefixOrNull
@Nullable public static ECSSVendorPrefix getFromPrefixOrNull(@Nullable String sPrefix)
-
-