Package sass.embedded_protocol
Enum Class EmbeddedSass.OutputStyle
- All Implemented Interfaces:
Internal.EnumLite
,ProtocolMessageEnum
,Serializable
,Comparable<EmbeddedSass.OutputStyle>
,Constable
- Enclosing class:
- EmbeddedSass
public static enum EmbeddedSass.OutputStyle
extends Enum<EmbeddedSass.OutputStyle>
implements ProtocolMessageEnum
Possible ways to format the CSS output. The compiler is not required to support all possible options; if the host requests an unsupported style, the compiler should choose the closest supported style.Protobuf enum
sass.embedded_protocol.OutputStyle
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe entire stylesheet is written on a single line, with as few characters as possible.Each selector and declaration is written on its own line. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
The entire stylesheet is written on a single line, with as few characters as possible.static final int
Each selector and declaration is written on its own line. -
Method Summary
Modifier and TypeMethodDescriptionstatic EmbeddedSass.OutputStyle
forNumber
(int value) static final Descriptors.EnumDescriptor
final int
static EmbeddedSass.OutputStyle
valueOf
(int value) Deprecated.static EmbeddedSass.OutputStyle
Returns the enum constant of this class with the specified name.static EmbeddedSass.OutputStyle
Returns the enum constant of this class with the specified name.static EmbeddedSass.OutputStyle[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
EXPANDED
Each selector and declaration is written on its own line.
EXPANDED = 0;
-
COMPRESSED
The entire stylesheet is written on a single line, with as few characters as possible.
COMPRESSED = 1;
-
UNRECOGNIZED
-
-
Field Details
-
EXPANDED_VALUE
public static final int EXPANDED_VALUEEach selector and declaration is written on its own line.
EXPANDED = 0;
- See Also:
-
COMPRESSED_VALUE
public static final int COMPRESSED_VALUEThe entire stylesheet is written on a single line, with as few characters as possible.
COMPRESSED = 1;
- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumber
in interfaceInternal.EnumLite
- Specified by:
getNumber
in interfaceProtocolMessageEnum
-
valueOf
Deprecated.Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
value
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
forNumber
- Parameters:
value
- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
-
getValueDescriptor
- Specified by:
getValueDescriptor
in interfaceProtocolMessageEnum
-
getDescriptorForType
- Specified by:
getDescriptorForType
in interfaceProtocolMessageEnum
-
getDescriptor
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
desc
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-