Package com.arakelian.jq
Enum JqRequest.Indent
- java.lang.Object
-
- java.lang.Enum<JqRequest.Indent>
-
- com.arakelian.jq.JqRequest.Indent
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<JqRequest.Indent>
- Enclosing class:
- JqRequest
public static enum JqRequest.Indent extends java.lang.Enum<JqRequest.Indent>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NONESPACETABTWO_SPACES
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static JqRequest.IndentvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static JqRequest.Indent[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final JqRequest.Indent NONE
-
TAB
public static final JqRequest.Indent TAB
-
SPACE
public static final JqRequest.Indent SPACE
-
TWO_SPACES
public static final JqRequest.Indent TWO_SPACES
-
-
Method Detail
-
values
public static JqRequest.Indent[] 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 (JqRequest.Indent c : JqRequest.Indent.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static JqRequest.Indent valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-