Package chemaxon.fixers
Class ValenceFixer
- java.lang.Object
-
- chemaxon.fixers.AbstractStructureFixer
-
- chemaxon.fixers.ValenceFixer
-
- All Implemented Interfaces:
StructureFixer
@PublicAPI public class ValenceFixer extends AbstractStructureFixer
A descendant ofAbstractStructureFixer
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
Constructors Constructor Description ValenceFixer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
fix(StructureCheckerResult result)
Fixes one molecule problem identified by the result-
Methods inherited from class chemaxon.fixers.AbstractStructureFixer
getDescription, getDescriptor, getName, setDescription, setName
-
-
-
-
Method Detail
-
fix
public boolean fix(StructureCheckerResult result)
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
-
-