com.google.template.soy.parseinfo
Enum SoyFileInfo.CssTagsPrefixPresence
java.lang.Object
java.lang.Enum<SoyFileInfo.CssTagsPrefixPresence>
com.google.template.soy.parseinfo.SoyFileInfo.CssTagsPrefixPresence
- All Implemented Interfaces:
- Serializable, Comparable<SoyFileInfo.CssTagsPrefixPresence>
- Enclosing class:
- SoyFileInfo
public static enum SoyFileInfo.CssTagsPrefixPresence
- extends Enum<SoyFileInfo.CssTagsPrefixPresence>
Enum for whether there are prefix expressions in the 'css' tags that a CSS name appears in.
Note that it's possible for the same CSS name to appear in multiple 'css' tags, some of which
contain prefixes and some of which don't.
ALWAYS
public static final SoyFileInfo.CssTagsPrefixPresence ALWAYS
NEVER
public static final SoyFileInfo.CssTagsPrefixPresence NEVER
SOMETIMES
public static final SoyFileInfo.CssTagsPrefixPresence SOMETIMES
values
public static SoyFileInfo.CssTagsPrefixPresence[] 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 (SoyFileInfo.CssTagsPrefixPresence c : SoyFileInfo.CssTagsPrefixPresence.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static SoyFileInfo.CssTagsPrefixPresence 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 name
NullPointerException - if the argument is null