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
@PublicAPI public class UngroupSgroupsAction extends chemaxon.standardizer.actions.AbstractSgroupAction
Standardizer action un-groups s-groups of the target molecule- Since:
- 6.0
-
-
Field Summary
Fields Modifier and Type Field Description protected String
excludeString
-
Fields inherited from class chemaxon.standardizer.AbstractStandardizerAction
CONFIG_PATH_KEY, FORMAT_KEY, ID_KEY, support
-
-
Constructor Summary
Constructors Constructor Description UngroupSgroupsAction(Map<String,String> params)
Initializes the action
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getExcludeString()
boolean
isOnlyExpanded()
void
setExcludeString(String excludeString)
void
setOnlyExpanded(boolean onlyExpanded)
protected Changes
standardize1(Molecule molecule)
This method contains the current standardization mechanism.-
Methods inherited from class chemaxon.standardizer.actions.AbstractSgroupAction
clone, parseGroupNames, 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 Detail
-
excludeString
protected String excludeString
-
-
Method Detail
-
standardize1
protected Changes standardize1(Molecule molecule)
Description copied from class:AbstractStandardizerAction
This 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:
standardize1
in classAbstractStandardizerAction
- Parameters:
molecule
- theMolecule
instance to be standardized- Returns:
- the changes applied on the molecule during the standardization process
-
setOnlyExpanded
public void setOnlyExpanded(boolean onlyExpanded)
-
setExcludeString
public void setExcludeString(String excludeString)
- Specified by:
setExcludeString
in classchemaxon.standardizer.actions.AbstractSgroupAction
-
getExcludeString
public String getExcludeString()
- Specified by:
getExcludeString
in classchemaxon.standardizer.actions.AbstractSgroupAction
-
isOnlyExpanded
public boolean isOnlyExpanded()
-
-