|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jfree.report.modules.parser.base.OperationResult
The OperationResult class provides the possibility to monitor the result of the parsing progress and to handle warnings and errors.
| Constructor Summary | |
OperationResult(java.lang.String message,
SeverityLevel severity)
Creates a new operation result with the given message and severity. |
|
OperationResult(java.lang.String message,
SeverityLevel severity,
int column,
int line)
Creates a new operation result with the given message, severity and parse position. |
|
| Method Summary | |
int |
getColumn()
Returns the column of the parse position where this message occured. |
int |
getLine()
Returns the line of the parse position where this message occured. |
java.lang.String |
getMessage()
Returns the message of the operation result. |
SeverityLevel |
getSeverity()
Returns the severity of the message. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public OperationResult(java.lang.String message,
SeverityLevel severity)
message - the message of this result object.severity - the assigned severity.
java.lang.NullPointerException - if one of the parameters is null.
public OperationResult(java.lang.String message,
SeverityLevel severity,
int column,
int line)
message - the message of this result object.severity - the assigned severity.column - the column of the parse positionline - the line of the parse position.
java.lang.NullPointerException - if one of the parameters is null.| Method Detail |
public java.lang.String getMessage()
public SeverityLevel getSeverity()
public int getColumn()
public int getLine()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||