Package chemaxon.standardizer.actions
Class AromatizeAction
java.lang.Object
chemaxon.standardizer.AbstractStandardizerAction
chemaxon.standardizer.actions.AromatizeAction
- All Implemented Interfaces:
chemaxon.license.Licensable,StandardizerAction,PropertyChangeListener,Cloneable,EventListener
Aromatization standardizer action
- Since:
- 5.11
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsFields inherited from class chemaxon.standardizer.AbstractStandardizerAction
CONFIG_PATH_KEY, FORMAT_KEY, ID_KEY, support -
Constructor Summary
ConstructorsConstructorDescriptionAromatizeAction(Map<String, String> params) Initializes the action with parameters -
Method Summary
Modifier and TypeMethodDescriptionclone()getType()Gets the type of aromatizationvoidsetType(AromatizeAction.Type type) Sets the type of aromatizationprotected Changesstandardize1(Molecule molecule) This method contains the current standardization mechanism.toString()Methods inherited from class chemaxon.standardizer.AbstractStandardizerAction
addPropertyChangeListener, addPropertyChangeListener, anyBooleanPropertyTrue, cloneItem, getComponents, getDescriptor, getID, isActive, isAvailable, isLicensed, isValid, propertyChange, removePropertyChangeListener, removePropertyChangeListener, setActive, setID, setLicenseEnvironment, setValid, standardize
-
Field Details
-
TYPE_KEY
Key of type for parsing and property change- See Also:
-
-
Constructor Details
-
AromatizeAction
Initializes the action with parameters- Parameters:
params- the parameters of the action
-
-
Method Details
-
setType
Sets the type of aromatization- Parameters:
type- the type of aromatization
-
getType
Gets the type of aromatization- Returns:
- the type of aromatization
-
standardize1
Description copied from class:AbstractStandardizerActionThis method contains the current standardization mechanism. Descendants needs to implement this method.
Special molecules containing more components (e.g.RgMolecule,RxnMolecule) are decomponented by the methodAbstractStandardizerAction.getComponents(Molecule), andAbstractStandardizerAction.standardize1(Molecule)method is called on each component, before applied on the original molecule. If a descendant does not want this to occur, this method must be overridden.
Logs of standardization should be generated to aLogger, that can be collected by usingStandardizerLogger.getLogger()method.- Specified by:
standardize1in classAbstractStandardizerAction- Parameters:
molecule- theMoleculeinstance to be standardized- Returns:
- the changes applied on the molecule during the standardization process
-
clone
- Overrides:
clonein classAbstractStandardizerAction- Throws:
CloneNotSupportedException
-
toString
- Overrides:
toStringin classAbstractStandardizerAction
-