Package chemaxon.checkers
Class AtomTypeChecker
java.lang.Object
chemaxon.checkers.AbstractStructureChecker
chemaxon.checkers.ComponentChecker<MolAtom>
chemaxon.checkers.AtomChecker
chemaxon.checkers.AtomTypeChecker
- All Implemented Interfaces:
- StructureChecker,- chemaxon.license.Licensable,- PropertyChangeListener,- Cloneable,- EventListener
- Direct Known Subclasses:
- RareElementChecker
A descendant of 
AtomChecker checking different atom types (represented by atom's
 symbol) in the molecule.- Since:
- Marvin 5.4
- 
Field SummaryFieldsFields inherited from class chemaxon.checkers.AbstractStructureCheckererrorType, propertyChangeSupportFields inherited from interface chemaxon.checkers.StructureCheckerPROPERTY_KEY_VALID
- 
Constructor SummaryConstructorsModifierConstructorDescriptionDefault constructor.protectedParameterized constructor providing the possibility for descendants to initialize with their own error type.AtomTypeChecker(Map<String, String> params) Parameterized constructor.
- 
Method SummaryMethods inherited from class chemaxon.checkers.AtomCheckercreateResult, getComponent, getComponentCountMethods inherited from class chemaxon.checkers.ComponentCheckercheck1, initializeMethods inherited from class chemaxon.checkers.AbstractStructureCheckeraddPropertyChangeListener, 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
- 
Field Details- 
PROPERTY_KEY_TYPESTypes property- See Also:
 
- 
types
 
- 
- 
Constructor Details- 
AtomTypeCheckerParameterized constructor providing the possibility for descendants to initialize with their own error type.- Parameters:
- type- is an instance is- StructureCheckerErrorType
 
- 
AtomTypeCheckerpublic AtomTypeChecker()Default constructor.
- 
AtomTypeCheckerParameterized constructor. If types parameter is given its value will be parsed and split along "," characters and all substring which represents a type will be search during the checking mechanism.- Parameters:
- params- a- Mapinstance which contains String pairs. Key is the name of the parameter.
 
 
- 
- 
Method Details- 
checkDescription copied from class:ComponentCheckerChecks if the component with index i has problem- Specified by:
- checkin class- ComponentChecker<MolAtom>
- Parameters:
- molecule- is a- Moleculeinstance
- component- the current component to check
- Returns:
- true if the component has problem, false otherwise
 
- 
getTypesReturns the checked atom types- Returns:
- the checked atom types
- Since:
- 5.7
 
- 
setTypesSets the checked atom types- Parameters:
- types- the new value
- Since:
- 5.7
 
 
-