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, propertyChangeSupportFields inherited from interface chemaxon.checkers.StructureChecker
PROPERTY_KEY_VALID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanChecks if the component with index i has problemprotected StructureCheckerResultcreateResult(Molecule molecule, List<MolAtom> atoms) Creates aStructureCheckerResultfrom aListcontaining the components.Methods inherited from class chemaxon.checkers.AtomChecker
getComponent, getComponentCountMethods inherited from class chemaxon.checkers.ComponentChecker
check1, initializeMethods 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:ComponentCheckerChecks if the component with index i has problem- Specified by:
checkin classComponentChecker<MolAtom>- Parameters:
molecule- is aMoleculeinstanceatom- the current component to check- Returns:
- true if the component has problem, false otherwise
-
createResult
Description copied from class:ComponentCheckerCreates aStructureCheckerResultfrom aListcontaining the components.- Overrides:
createResultin classAtomChecker- Parameters:
molecule- is aMoleculeinstanceatoms- is an instance ofListcontaining the problematic components- Returns:
- a
StructureCheckerResultcontaining all problematic component indices
-