|
LexCheck 2011 Version |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgov.nih.nlm.nls.lexCheck.CkLib.CheckObject
public class CheckObject
This class provides a Java object to carry check information.
History:
| Constructor Summary | |
|---|---|
CheckObject(java.lang.String startStr,
int startErrMsg,
int fillerErrMsg,
int nextState,
java.util.HashSet nextStartStrs,
CheckFormat fillerFormat)
Create a default CheckObject |
|
CheckObject(java.lang.String startStr,
int startErrMsg,
int fillerErrMsg,
int nextState,
java.util.HashSet nextStartStrs,
CheckFormat fillerFormat,
java.lang.String delim)
Create a default CheckObject |
|
CheckObject(java.lang.String startStr,
int startErrMsg,
int fillerErrMsg,
int nextState,
java.util.HashSet nextStartStrs,
java.util.HashSet nextLine,
CheckFormat fillerFormat)
Create a default CheckObject |
|
CheckObject(java.lang.String startStr,
int startErrMsg,
int fillerErrMsg,
int nextState,
java.util.HashSet nextStartStrs,
java.util.HashSet nextLine,
CheckFormat fillerFormat,
java.lang.String delim)
Create a default CheckObject |
|
| Method Summary | |
|---|---|
java.lang.String |
GetDelim()
Get the deliminator string from this CheckObject |
int |
GetFillerErrMsg()
Get the error massage of the filler problem |
CheckFormat |
GetFillerFormat()
Get the legal format of a filler |
java.util.HashSet |
GetNextLine()
Get the collection of possible strings of next line |
java.util.HashSet |
GetNextStartStrs()
Get the collection of possible starting strings of next line |
int |
GetNextState()
Get the next checking state |
int |
GetStartErrMsg()
Get the error massage of the starting string problem |
java.lang.String |
GetStartStr()
Get the legal start string from this CheckObject |
boolean |
IsNextStartStr(java.lang.String line)
Check if the starting string of next line is legal |
boolean |
IsTab()
Check if the line starts with a tab |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CheckObject(java.lang.String startStr,
int startErrMsg,
int fillerErrMsg,
int nextState,
java.util.HashSet nextStartStrs,
CheckFormat fillerFormat)
startStr - the start string of a linestartErrMsg - the error msg for the start string problemfillerErrMsg - the error msg for fillernextState - the next checking statenextStartStrs - the possible start string for the next linefillerFormat - the legal format of filler
public CheckObject(java.lang.String startStr,
int startErrMsg,
int fillerErrMsg,
int nextState,
java.util.HashSet nextStartStrs,
java.util.HashSet nextLine,
CheckFormat fillerFormat)
startStr - the start string of a linestartErrMsg - the error msg for the start string problemfillerErrMsg - the error msg for fillernextState - the next checking statenextStartStrs - the possible start string for the next linenextLine - the possible next linefillerFormat - the legal format of filler
public CheckObject(java.lang.String startStr,
int startErrMsg,
int fillerErrMsg,
int nextState,
java.util.HashSet nextStartStrs,
CheckFormat fillerFormat,
java.lang.String delim)
startStr - the start string of a linestartErrMsg - the error msg for the start string problemfillerErrMsg - the error msg for fillernextState - the next checking statenextStartStrs - the possible start string for the next linefillerFormat - the legal format of fillerdelim - the deliminator for tokenization
public CheckObject(java.lang.String startStr,
int startErrMsg,
int fillerErrMsg,
int nextState,
java.util.HashSet nextStartStrs,
java.util.HashSet nextLine,
CheckFormat fillerFormat,
java.lang.String delim)
startStr - the start string of a linestartErrMsg - the error msg for the start string problemfillerErrMsg - the error msg for fillernextState - the next checking statenextStartStrs - the possible start string for the next linenextLine - the possible next linefillerFormat - the legal format of fillerdelim - the deliminator for tokenization| Method Detail |
|---|
public java.lang.String GetStartStr()
public java.lang.String GetDelim()
public int GetStartErrMsg()
public int GetFillerErrMsg()
public int GetNextState()
public java.util.HashSet GetNextStartStrs()
public java.util.HashSet GetNextLine()
public boolean IsNextStartStr(java.lang.String line)
public CheckFormat GetFillerFormat()
public boolean IsTab()
|
LexCheck 2011 Version |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||