chemaxon.checkers
Class PseudoAtomChecker
java.lang.Object
chemaxon.checkers.AbstractStructureChecker
chemaxon.checkers.ComponentChecker<MolAtom>
chemaxon.checkers.AtomChecker
chemaxon.checkers.PseudoAtomChecker
- All Implemented Interfaces:
- StructureChecker, chemaxon.license.Licensable, java.beans.PropertyChangeListener, java.lang.Cloneable, java.util.EventListener
public class PseudoAtomChecker
- extends AtomChecker
A descendant of AtomChecker
detecting pseudo atoms.
- Since:
- Marvin 5.3
- Version:
- 5.7
- Author:
- Attila Szabo
- See Also:
MolAtom.isPseudo()
Methods inherited from class chemaxon.checkers.AbstractStructureChecker |
addPropertyChangeListener, addPropertyChangeListener, check, clone, cloneItem, convertResult, equals, expandMolecule, getDescription, getDescriptor, getEditorClassName, getErrorCode, getErrorDescription, getErrorType, getHelpText, getIcon, getLocalMenuName, getName, hashCode, isAvailable, isLicensed, isValid, propertyChange, removePropertyChangeListener, removePropertyChangeListener, setDescription, setHelpText, setIcon, setLicenseEnvironment, setLocalMenuName, setMoreErrorMessage, setName, setNoErrorMessage, setOneErrorMessage, toString |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
PseudoAtomChecker
public PseudoAtomChecker()
- Default constructor
check
protected boolean check(Molecule molecule,
MolAtom atom)
- Description copied from class:
ComponentChecker
- Checks if the component with index i has problem
- Specified by:
check
in class ComponentChecker<MolAtom>
- Parameters:
molecule
- is a Molecule
instanceatom
- the current component to check
- Returns:
- true if the component has problem, false otherwise
createResult
protected StructureCheckerResult createResult(Molecule molecule,
java.util.List<MolAtom> atoms)
- Description copied from class:
ComponentChecker
- Creates a
StructureCheckerResult
from a List
containing the components.
- Overrides:
createResult
in class AtomChecker
- Parameters:
molecule
- is a Molecule
instanceatoms
- is an instance of List
containing the problematic components
- Returns:
- a
StructureCheckerResult
containing all problematic component indices