| Constructor and Description |
|---|
MoleculeBuilder()
Instantiates a builder using the
DefaultChemObjectBuilder. |
MoleculeBuilder(IChemObjectBuilder builder) |
| Modifier and Type | Method and Description |
|---|---|
protected IAtomContainer |
buildMolecule(int mainChain,
List<AttachedGroup> attachedSubstituents,
List<AttachedGroup> attachedGroups,
boolean isMainCyclic,
String name)
Start of the process of building a molecule from the parsed data.
|
public MoleculeBuilder(IChemObjectBuilder builder)
public MoleculeBuilder()
DefaultChemObjectBuilder.protected IAtomContainer buildMolecule(int mainChain, List<AttachedGroup> attachedSubstituents, List<AttachedGroup> attachedGroups, boolean isMainCyclic, String name) throws ParseException, CDKException
mainChain - The string representation of the length of the main chain.attachedSubstituents - A vector of AttachedGroup's representing substituents.attachedGroups - A vector of AttachedGroup's representing functional groups.isMainCyclic - An indication of if the main chain is cyclic.ParseExceptionCDKExceptionCopyright © 2022. All rights reserved.