Enum Clean2DAction.Type
- java.lang.Object
-
- java.lang.Enum<Clean2DAction.Type>
-
- chemaxon.standardizer.advancedactions.Clean2DAction.Type
-
- All Implemented Interfaces:
Serializable
,Comparable<Clean2DAction.Type>
- Enclosing class:
- Clean2DAction
public static enum Clean2DAction.Type extends Enum<Clean2DAction.Type>
Type of clean action (partial, full, template based or convert 3D to 2D)
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FULL
Full cleanPARTIAL
Partial cleanREMOVEZCOORDINATE
Convert 3D to 2DTEMPLATEBASED
Template based clean
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Clean2DAction.Type
parse(String type)
Parses the type of the clean actionString
toString()
static Clean2DAction.Type
valueOf(String name)
Returns the enum constant of this type with the specified name.static Clean2DAction.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PARTIAL
public static final Clean2DAction.Type PARTIAL
Partial clean
-
FULL
public static final Clean2DAction.Type FULL
Full clean
-
TEMPLATEBASED
public static final Clean2DAction.Type TEMPLATEBASED
Template based clean
-
REMOVEZCOORDINATE
public static final Clean2DAction.Type REMOVEZCOORDINATE
Convert 3D to 2D
-
-
Method Detail
-
values
public static Clean2DAction.Type[] 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 (Clean2DAction.Type c : Clean2DAction.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Clean2DAction.Type 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
-
toString
public String toString()
- Overrides:
toString
in classEnum<Clean2DAction.Type>
-
parse
public static Clean2DAction.Type parse(String type)
Parses the type of the clean action- Parameters:
type
- the string representation of the type to be parsed- Returns:
- the type of the clean action
-
-