public class StructGenMatcher extends Object implements IAtomTypeMatcher
This class uses the cdk/config/data/structgen_atomtypes.xml list. If there is not an atom type defined for the tested atom, then null is returned.
| Constructor and Description |
|---|
StructGenMatcher()
Constructor for the StructGenMatcher object.
|
| Modifier and Type | Method and Description |
|---|---|
IAtomType |
findMatchingAtomType(IAtomContainer atomContainer,
IAtom atom)
Finds the AtomType matching the Atom's element symbol, formal charge and
hybridization state.
|
IAtomType[] |
findMatchingAtomTypes(IAtomContainer atomContainer)
Method that assigns atom types to atoms in the given atom container.
|
public StructGenMatcher()
public IAtomType[] findMatchingAtomTypes(IAtomContainer atomContainer) throws CDKException
IAtomTypeMatcherfindMatchingAtomTypes in interface IAtomTypeMatcheratomContainer - AtomContainer for which atom types are perceivedCDKException - when something went wrong with going through
the AtomType'spublic IAtomType findMatchingAtomType(IAtomContainer atomContainer, IAtom atom) throws CDKException
findMatchingAtomType in interface IAtomTypeMatcheratomContainer - AtomContaineratom - the target atomCDKException - Exception thrown if something goes wrongCopyright © 2018. All Rights Reserved.