Package chemaxon.fixers
Class ValenceFixer
java.lang.Object
chemaxon.fixers.AbstractStructureFixer
chemaxon.fixers.ValenceFixer
- All Implemented Interfaces:
StructureFixer
A descendant of
AbstractStructureFixer
which fixes valence problem in the
molecule if it is possible with removing explicit hydrogens or by adding charge- Since:
- Marvin 5.3
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
fix
(StructureCheckerResult result) Fixes one molecule problem identified by the resultMethods inherited from class chemaxon.fixers.AbstractStructureFixer
getDescription, getDescriptor, getName, setDescription, setName
-
Constructor Details
-
ValenceFixer
public ValenceFixer()
-
-
Method Details
-
fix
Description copied from interface:StructureFixer
Fixes one molecule problem identified by the result- Parameters:
result
- is an instance ofStructureCheckerResult
which identifies the problem- Returns:
- true if the fix was successful false otherwise
-