Package chemaxon.standardizer.actions
Class UngroupSgroupsAction
java.lang.Object
chemaxon.standardizer.AbstractStandardizerAction
chemaxon.standardizer.actions.AbstractSgroupAction
chemaxon.standardizer.actions.UngroupSgroupsAction
- All Implemented Interfaces:
chemaxon.license.Licensable,StandardizerAction,PropertyChangeListener,Cloneable,EventListener
Standardizer action un-groups s-groups of the target molecule
- Since:
- 6.0
-
Field Summary
FieldsFields inherited from class chemaxon.standardizer.actions.AbstractSgroupAction
changes, EXCLUDE_KEYFields inherited from class chemaxon.standardizer.AbstractStandardizerAction
CONFIG_PATH_KEY, FORMAT_KEY, ID_KEY, support -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the exclude string of actionbooleanvoidsetExcludeString(String excludeString) Sets the exclude string of actionvoidsetOnlyExpanded(boolean onlyExpanded) protected Changesstandardize1(Molecule molecule) This method contains the current standardization mechanism.Methods inherited from class chemaxon.standardizer.actions.AbstractSgroupAction
clone, parseGroupNames, toStringMethods 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
-
excludeString
-
-
Constructor Details
-
UngroupSgroupsAction
Initializes the action- Parameters:
params- the parameters of the action
-
-
Method Details
-
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
-
setOnlyExpanded
public void setOnlyExpanded(boolean onlyExpanded) -
setExcludeString
Description copied from class:AbstractSgroupActionSets the exclude string of action- Specified by:
setExcludeStringin classAbstractSgroupAction- Parameters:
excludeString- the exclude string of action
-
getExcludeString
Description copied from class:AbstractSgroupActionGets the exclude string of action- Specified by:
getExcludeStringin classAbstractSgroupAction- Returns:
- the exclude string of action
-
isOnlyExpanded
public boolean isOnlyExpanded()
-