|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectchemaxon.checkers.AbstractStructureChecker
chemaxon.checkers.AbbreviatedGroupChecker
public class AbbreviatedGroupChecker
A descendant of AbstractStructureChecker detecting abbreviations ("COOH", "Ala",
"NO2", etc.) in a Molecule instance represented in abbreviated group form.
| Field Summary | |
|---|---|
static java.lang.String |
PROPERTY_KEY_CONTRACTED
This public constant String represents the name of the configuration file property which is
responsible for searching contracted abbreviated groups |
static java.lang.String |
PROPERTY_KEY_EXPANDED
This public constant String represents the name of the configuration file property which is
responsible for searching expanded abbreviated groups |
static java.lang.String |
PROPERTY_KEY_SEARCH_CONTRACTED
This public constant String represents the name of the property which is
responsible for searching contracted abbreviated groups |
static java.lang.String |
PROPERTY_KEY_SEARCH_EXPANDED
This public constant String represents the name of the property which is
responsible for searching expanded abbreviated groups |
| Fields inherited from class chemaxon.checkers.AbstractStructureChecker |
|---|
errorType, propertyChangeSupport |
| Fields inherited from interface chemaxon.checkers.StructureChecker |
|---|
PROPERTY_KEY_VALID |
| Constructor Summary | |
|---|---|
AbbreviatedGroupChecker()
Default constructor. |
|
AbbreviatedGroupChecker(java.util.Map<java.lang.String,java.lang.String> params)
Parameterized constructor. |
|
| Method Summary | |
|---|---|
protected StructureCheckerResult |
check1(Molecule molecule)
This method contains the current checking mechanism. |
boolean |
equals(java.lang.Object obj)
|
int |
hashCode()
|
boolean |
isSearchContracted()
Returns if the checker is searching for contracted SGroups or not |
boolean |
isSearchExpanded()
Returns if the checker is searching for expanded SGroups or not |
void |
setSearchContracted(boolean searchContracted)
Sets the checker should search for contracted abbreviated groups or not |
void |
setSearchExpanded(boolean searchExpanded)
Sets the checker should search for expanded abbreviated groups or not |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String PROPERTY_KEY_EXPANDED
String represents the name of the configuration file property which is
responsible for searching expanded abbreviated groups
public static final java.lang.String PROPERTY_KEY_CONTRACTED
String represents the name of the configuration file property which is
responsible for searching contracted abbreviated groups
public static final java.lang.String PROPERTY_KEY_SEARCH_CONTRACTED
String represents the name of the property which is
responsible for searching contracted abbreviated groups
public static final java.lang.String PROPERTY_KEY_SEARCH_EXPANDED
String represents the name of the property which is
responsible for searching expanded abbreviated groups
| Constructor Detail |
|---|
public AbbreviatedGroupChecker()
public AbbreviatedGroupChecker(java.util.Map<java.lang.String,java.lang.String> params)
params - a Map instance which contains String pairs. Key is the name of the
parameter.| Method Detail |
|---|
public boolean isSearchContracted()
public boolean isSearchExpanded()
protected StructureCheckerResult check1(Molecule molecule)
AbstractStructureChecker
check1 in class AbstractStructureCheckermolecule - the Molecule instance to be checked for problems
StructureCheckerResult which represents the problem or null
if no problem foundpublic boolean equals(java.lang.Object obj)
equals in class AbstractStructureCheckerpublic int hashCode()
hashCode in class AbstractStructureCheckerpublic void setSearchExpanded(boolean searchExpanded)
searchExpanded - is a boolean property. If true expanded abbreviated
groups will be checked during the checking mechanism.public void setSearchContracted(boolean searchContracted)
searchContracted - is a boolean property. If true contracted abbreviated
groups will be checked during the checking mechanism.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||