Class ContractSgroupsAction

java.lang.Object
chemaxon.standardizer.AbstractStandardizerAction
chemaxon.standardizer.actions.AbstractSgroupAction
chemaxon.standardizer.actions.ContractSgroupsAction
All Implemented Interfaces:
chemaxon.license.Licensable, StandardizerAction, PropertyChangeListener, Cloneable, EventListener

@PublicAPI public class ContractSgroupsAction extends chemaxon.standardizer.actions.AbstractSgroupAction
Standardizer action contracting s-groups of the target molecule
Since:
6.0
  • Field Details

    • excludeString

      protected String excludeString
  • Constructor Details

    • ContractSgroupsAction

      public ContractSgroupsAction(Map<String,String> params)
      Initializes the action
      Parameters:
      params - the parameters of the action
  • Method Details

    • 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 method AbstractStandardizerAction.getComponents(Molecule), and AbstractStandardizerAction.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 a Logger, that can be collected by using StandardizerLogger.getLogger() method.
      Specified by:
      standardize1 in class AbstractStandardizerAction
      Parameters:
      molecule - the Molecule instance to be standardized
      Returns:
      the changes applied on the molecule during the standardization process
    • setExcludeString

      public void setExcludeString(String excludeString)
      Specified by:
      setExcludeString in class chemaxon.standardizer.actions.AbstractSgroupAction
    • getExcludeString

      public String getExcludeString()
      Specified by:
      getExcludeString in class chemaxon.standardizer.actions.AbstractSgroupAction