Package net.sf.okapi.filters.yaml.parser
Enum YamlScalarTypes
- java.lang.Object
-
- java.lang.Enum<YamlScalarTypes>
-
- net.sf.okapi.filters.yaml.parser.YamlScalarTypes
-
- All Implemented Interfaces:
Serializable,Comparable<YamlScalarTypes>
public enum YamlScalarTypes extends Enum<YamlScalarTypes>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetQuoteChar()static YamlScalarTypesvalueOf(String name)Returns the enum constant of this type with the specified name.static YamlScalarTypes[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
COMPLEX
public static final YamlScalarTypes COMPLEX
-
PLAIN
public static final YamlScalarTypes PLAIN
-
SINGLE
public static final YamlScalarTypes SINGLE
-
DOUBLE
public static final YamlScalarTypes DOUBLE
-
LITERAL
public static final YamlScalarTypes LITERAL
-
FOLDED
public static final YamlScalarTypes FOLDED
-
UNKNOWN
public static final YamlScalarTypes UNKNOWN
-
-
Method Detail
-
values
public static YamlScalarTypes[] 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 (YamlScalarTypes c : YamlScalarTypes.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static YamlScalarTypes 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
-
getQuoteChar
public String getQuoteChar()
-
-