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