public enum ECSSVersion extends Enum<ECSSVersion> implements com.helger.commons.version.IHasVersion
Modifier and Type | Field and Description |
---|---|
static ECSSVersion |
HTML4
Deprecated.
|
static ECSSVersion |
LATEST
Latest version is CSS 3.0
|
Modifier and Type | Method and Description |
---|---|
com.helger.commons.version.Version |
getVersion() |
String |
getVersionString() |
static ECSSVersion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ECSSVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@DevelopersNote(value="No CSS parser is available for 1.0!") public static final ECSSVersion CSS10
public static final ECSSVersion CSS21
public static final ECSSVersion CSS30
@Nonnull @Deprecated @DevelopersNote(value="Use CSS10 instead") public static final ECSSVersion HTML4
@Nonnull public static final ECSSVersion LATEST
public static ECSSVersion[] values()
for (ECSSVersion c : ECSSVersion.values()) System.out.println(c);
public static ECSSVersion 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 null@Nonnull public com.helger.commons.version.Version getVersion()
getVersion
in interface com.helger.commons.version.IHasVersion
Copyright © 2014–2015 Philip Helger. All rights reserved.