@PublicAPI public enum Aromatizer extends java.lang.Enum<Aromatizer> implements Transformer, com.chemaxon.search.transformation.AromatizationDataProvider
Enum Constant and Description |
---|
AMBIGUOUS |
BASIC |
GENERAL |
LOOSE |
NONE |
Modifier and Type | Field and Description |
---|---|
static Aromatizer |
IDENTITY
Identity transformer.
|
Modifier and Type | Method and Description |
---|---|
static Aromatizer |
fromMethod(com.chemaxon.search.AromatizationMethod method)
Gets the aromatizer-transformer corresponding to the specified aromatization method
|
com.chemaxon.search.AromatizationMethod |
getAromatizationMethod() |
com.chemaxon.search.transformation.AtomIndexMapper |
transform(Molecule m)
Transforms a
Molecule . |
static Aromatizer |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Aromatizer[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Aromatizer NONE
public static final Aromatizer AMBIGUOUS
public static final Aromatizer BASIC
public static final Aromatizer GENERAL
public static final Aromatizer LOOSE
public static final Aromatizer IDENTITY
public static Aromatizer[] values()
for (Aromatizer c : Aromatizer.values()) System.out.println(c);
public static Aromatizer valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic com.chemaxon.search.AromatizationMethod getAromatizationMethod()
getAromatizationMethod
in interface com.chemaxon.search.transformation.AromatizationDataProvider
public com.chemaxon.search.transformation.AtomIndexMapper transform(Molecule m)
Transformer
Transforms a Molecule
. The molecule object is changed during the transformation, the mappings between old
and new atom indexes are returned by the transformation.
transform
in interface Transformer
m
- the moleculeAtomIndexMapper
between old and new atom indexespublic static Aromatizer fromMethod(com.chemaxon.search.AromatizationMethod method)
method
- the specified aromatization method.Aromatizer
corresponding to the specified aromatization method