public enum ECSSVersion extends Enum<ECSSVersion> implements com.helger.commons.version.IHasVersion
Modifier and Type | Field and Description |
---|---|
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
@DevelopersNote(value="Up to version 4.x of ph-css a special CSS 2.1 parser was available. Now it is the same as CSS 3.0") public static final ECSSVersion CSS21
public static final ECSSVersion CSS30
@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–2021 Philip Helger. All rights reserved.