Enum NodeText.Option
- java.lang.Object
-
- java.lang.Enum<NodeText.Option>
-
- com.github.javaparser.printer.lexicalpreservation.NodeText.Option
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<NodeText.Option>
- Enclosing class:
- NodeText
static enum NodeText.Option extends java.lang.Enum<NodeText.Option>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EXCLUDE_END
EXCLUDE_START
REMOVE_SPACE_IMMEDIATELY_AFTER
-
Constructor Summary
Constructors Modifier Constructor Description private
Option()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static NodeText.Option
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static NodeText.Option[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
REMOVE_SPACE_IMMEDIATELY_AFTER
public static final NodeText.Option REMOVE_SPACE_IMMEDIATELY_AFTER
-
EXCLUDE_START
public static final NodeText.Option EXCLUDE_START
-
EXCLUDE_END
public static final NodeText.Option EXCLUDE_END
-
-
Method Detail
-
values
public static NodeText.Option[] 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 (NodeText.Option c : NodeText.Option.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NodeText.Option 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
-
-