Package chemaxon.checkers
Class AliasChecker
java.lang.Object
chemaxon.checkers.AbstractStructureChecker
chemaxon.checkers.ComponentChecker<MolAtom>
chemaxon.checkers.AtomChecker
chemaxon.checkers.AliasChecker
- All Implemented Interfaces:
StructureChecker
,chemaxon.license.Licensable
,PropertyChangeListener
,Cloneable
,EventListener
A descendant of
AbstractStructureChecker
detecting atoms with alias
labels.- Since:
- Marvin 5.3
-
Field Summary
Fields inherited from class chemaxon.checkers.AbstractStructureChecker
errorType, propertyChangeSupport
Fields inherited from interface chemaxon.checkers.StructureChecker
PROPERTY_KEY_VALID
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
Checks if the component with index i has problemprotected StructureCheckerResult
createResult
(Molecule molecule, List<MolAtom> atoms) Creates aStructureCheckerResult
from aList
containing the components.Methods inherited from class chemaxon.checkers.AtomChecker
getComponent, getComponentCount
Methods inherited from class chemaxon.checkers.ComponentChecker
check1, initialize
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
-
Constructor Details
-
AliasChecker
public AliasChecker()Default constructor.
-
-
Method Details
-
check
Description copied from class:ComponentChecker
Checks if the component with index i has problem- Specified by:
check
in classComponentChecker<MolAtom>
- Parameters:
molecule
- is aMolecule
instanceatom
- the current component to check- Returns:
- true if the component has problem, false otherwise
-
createResult
Description copied from class:ComponentChecker
Creates aStructureCheckerResult
from aList
containing the components.- Overrides:
createResult
in classAtomChecker
- Parameters:
molecule
- is aMolecule
instanceatoms
- is an instance ofList
containing the problematic components- Returns:
- a
StructureCheckerResult
containing all problematic component indices
-