Package 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
,PropertyChangeListener
,Cloneable
,EventListener
A descendant of
AtomChecker
detecting pseudo atoms.- Since:
- Marvin 5.3
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
This public constantString
represents the name of the property which is responsible for the list of excluded pseudo atom labelsstatic final String
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.boolean
isValid()
Returns true if the checker's configuration is valid, false otherwisevoid
setExcluded
(AtomLabels excluded) 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, propertyChange, removePropertyChangeListener, removePropertyChangeListener, setDescription, setHelpText, setIcon, setLicenseEnvironment, setLocalMenuName, setMoreErrorMessage, setName, setNoErrorMessage, setOneErrorMessage, toString
-
Field Details
-
PROPERTY_KEY_EXCLUDED
This public constantString
represents the name of the property which is responsible for the list of excluded pseudo atom labels- Since:
- 16.9.26
- See Also:
-
PROPERTY_KEY_SEARCH_EXCLUDED
- See Also:
-
-
Constructor Details
-
PseudoAtomChecker
public PseudoAtomChecker()Default constructor -
PseudoAtomChecker
-
-
Method Details
-
getExcluded
-
setExcluded
-
isValid
public boolean isValid()Description copied from interface:StructureChecker
Returns true if the checker's configuration is valid, false otherwise- Specified by:
isValid
in interfaceStructureChecker
- Overrides:
isValid
in classAbstractStructureChecker
- Returns:
- true if the checker's configuration is valid, false otherwise
-
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
-