Class SgroupFactory

java.lang.Object
chemaxon.struc.SgroupFactory

@PublicApi public class SgroupFactory extends Object
A factory class to create different types of S-groups.
Since:
5.12, 10/19/2012
  • Constructor Details

    • SgroupFactory

      public SgroupFactory()
  • Method Details

    • createSgroup

      public static Sgroup createSgroup(Molecule parent, SgroupType type)
      Creates an Sgroup with consistent sgroup type and dynamic object type.
      Parameters:
      type - type of the Sgroup
      Returns:
      the created Sgroup