Enum Class Aromatizer
- All Implemented Interfaces:
- com.chemaxon.search.transformation.AromatizationDataProvider,- Transformer,- Serializable,- Comparable<Aromatizer>,- java.lang.constant.Constable
@PublicApi
public enum Aromatizer
extends Enum<Aromatizer>
implements Transformer, com.chemaxon.search.transformation.AromatizationDataProvider
Aromatizer transformer.
 Performs aromatization according to the specified method.
- Since:
- JChem 5.12
- 
Nested Class SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum Constants
- 
Field SummaryFields
- 
Method SummaryModifier and TypeMethodDescriptionstatic AromatizerfromMethod(AromatizationMethod method) Gets the aromatizer-transformer corresponding to the specified aromatization methodTransforms aMolecule.static AromatizerReturns the enum constant of this class with the specified name.static Aromatizer[]values()Returns an array containing the constants of this enum class, in the order they are declared.
- 
Enum Constant Details- 
NONE
- 
AMBIGUOUS
- 
BASIC
- 
GENERAL
- 
LOOSE
 
- 
- 
Field Details- 
IDENTITYIdentity transformer.
 
- 
- 
Method Details- 
valuesReturns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
 
- 
valueOfReturns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
- NullPointerException- if the argument is null
 
- 
getAromatizationMethod- Specified by:
- getAromatizationMethodin interface- com.chemaxon.search.transformation.AromatizationDataProvider
 
- 
transformDescription copied from interface:TransformerTransforms a TODO: revise this interface, do we really want to force implementations to change the input molecule rather than return a one?Molecule. The molecule object is changed during the transformation, the mappings between old and new atom indexes are returned by the transformation.- Specified by:
- transformin interface- Transformer
- Parameters:
- m- the molecule
- Returns:
- AtomIndexMapperbetween old and new atom indexes
 
- 
fromMethodGets the aromatizer-transformer corresponding to the specified aromatization method- Parameters:
- method- the specified aromatization method.
- Returns:
- returns an Aromatizercorresponding to the specified aromatization method
 
 
-