Package org.w3._2001.smil20
Enum FillDefaultType
- Object
-
- Enum<FillDefaultType>
-
- FillDefaultType
-
- All Implemented Interfaces:
Serializable
,Comparable<FillDefaultType>
,Enumerator
public enum FillDefaultType extends Enum<FillDefaultType> implements Enumerator
A representation of the literals of the enumeration 'Fill Default Type', and utility methods for working with them.- See Also:
Smil20Package.getFillDefaultType()
-
-
Field Summary
Fields Modifier and Type Field Description static int
AUTO_VALUE
The 'Auto' literal value.static int
FREEZE_VALUE
The 'Freeze' literal value.static int
HOLD_VALUE
The 'Hold' literal value.static int
INHERIT_VALUE
The 'Inherit' literal value.static int
REMOVE_VALUE
The 'Remove' literal value.static int
TRANSITION_VALUE
The 'Transition' literal value.static List<FillDefaultType>
VALUES
A public read-only list of all the 'Fill Default Type' enumerators.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FillDefaultType
get(int value)
Returns the 'Fill Default Type' literal with the specified integer value.static FillDefaultType
get(String literal)
Returns the 'Fill Default Type' literal with the specified literal value.static FillDefaultType
getByName(String name)
Returns the 'Fill Default Type' literal with the specified name.String
getLiteral()
String
getName()
int
getValue()
String
toString()
Returns the literal value of the enumerator, which is its string representation.static FillDefaultType
valueOf(String name)
Returns the enum constant of this type with the specified name.static FillDefaultType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
REMOVE
public static final FillDefaultType REMOVE
The 'Remove' literal object.- See Also:
REMOVE_VALUE
-
FREEZE
public static final FillDefaultType FREEZE
The 'Freeze' literal object.- See Also:
FREEZE_VALUE
-
HOLD
public static final FillDefaultType HOLD
The 'Hold' literal object.- See Also:
HOLD_VALUE
-
AUTO
public static final FillDefaultType AUTO
The 'Auto' literal object.- See Also:
AUTO_VALUE
-
INHERIT
public static final FillDefaultType INHERIT
The 'Inherit' literal object.- See Also:
INHERIT_VALUE
-
TRANSITION
public static final FillDefaultType TRANSITION
The 'Transition' literal object.- See Also:
TRANSITION_VALUE
-
-
Field Detail
-
REMOVE_VALUE
public static final int REMOVE_VALUE
The 'Remove' literal value.If the meaning of 'Remove' literal object isn't clear, there really should be more of a description here...
- See Also:
REMOVE
, Constant Field Values
-
FREEZE_VALUE
public static final int FREEZE_VALUE
The 'Freeze' literal value.If the meaning of 'Freeze' literal object isn't clear, there really should be more of a description here...
- See Also:
FREEZE
, Constant Field Values
-
HOLD_VALUE
public static final int HOLD_VALUE
The 'Hold' literal value.If the meaning of 'Hold' literal object isn't clear, there really should be more of a description here...
- See Also:
HOLD
, Constant Field Values
-
AUTO_VALUE
public static final int AUTO_VALUE
The 'Auto' literal value.If the meaning of 'Auto' literal object isn't clear, there really should be more of a description here...
- See Also:
AUTO
, Constant Field Values
-
INHERIT_VALUE
public static final int INHERIT_VALUE
The 'Inherit' literal value.If the meaning of 'Inherit' literal object isn't clear, there really should be more of a description here...
- See Also:
INHERIT
, Constant Field Values
-
TRANSITION_VALUE
public static final int TRANSITION_VALUE
The 'Transition' literal value.If the meaning of 'Transition' literal object isn't clear, there really should be more of a description here...
- See Also:
TRANSITION
, Constant Field Values
-
VALUES
public static final List<FillDefaultType> VALUES
A public read-only list of all the 'Fill Default Type' enumerators.
-
-
Method Detail
-
values
public static FillDefaultType[] 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 (FillDefaultType c : FillDefaultType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FillDefaultType 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
-
get
public static FillDefaultType get(String literal)
Returns the 'Fill Default Type' literal with the specified literal value.- Parameters:
literal
- the literal.- Returns:
- the matching enumerator or
null
.
-
getByName
public static FillDefaultType getByName(String name)
Returns the 'Fill Default Type' literal with the specified name.- Parameters:
name
- the name.- Returns:
- the matching enumerator or
null
.
-
get
public static FillDefaultType get(int value)
Returns the 'Fill Default Type' literal with the specified integer value.- Parameters:
value
- the integer value.- Returns:
- the matching enumerator or
null
.
-
getValue
public int getValue()
- Specified by:
getValue
in interfaceEnumerator
-
getName
public String getName()
- Specified by:
getName
in interfaceEnumerator
-
getLiteral
public String getLiteral()
- Specified by:
getLiteral
in interfaceEnumerator
-
toString
public String toString()
Returns the literal value of the enumerator, which is its string representation.- Overrides:
toString
in classEnum<FillDefaultType>
-
-