| Constructor and Description |
|---|
Validator.ResultItem(Validator validator,
Validator.ResultType type,
Component component,
String desc)
Constructor to create an instance of ResultItem
|
Validator.ResultItem(Validator validator,
Validator.ResultType type,
String desc,
int lineNumber,
int columnNumber,
Model model)
Constructor to create an instance of ResultItem
|
| Modifier and Type | Method and Description |
|---|---|
int |
getColumnNumber()
Column position of advice/warning/error.
|
Component |
getComponents()
Returns target component of the validation result.
|
String |
getDescription()
Returns description of the validation result item.
|
int |
getLineNumber()
Line position of advice/warning/error.
|
Model |
getModel()
Model on which this ResultItem was reported on.
|
Validator.ResultType |
getType()
Returns type of validation result.
|
Validator |
getValidator()
Get the validator which generated this error.
|
void |
setDescription(String description) |
public Validator.ResultItem(Validator validator, Validator.ResultType type, Component component, String desc)
validator - Reference to validator.type - Type of message.component - Component to which this resultItem points.desc - Message text string.public Validator.ResultItem(Validator validator, Validator.ResultType type, String desc, int lineNumber, int columnNumber, Model model)
validator - Reference to validator.type - Type of message.desc - Message text string.lineNumber - Line number where this error happens.columnNumber - Column Number where this error happens.model - Model on which this is reported.public Validator getValidator()
public Validator.ResultType getType()
public Component getComponents()
public String getDescription()
public void setDescription(String description)
public int getLineNumber()
public int getColumnNumber()
public Model getModel()
Built on June 18 2013. | Portions Copyright 1997-2013 Oracle. All rights reserved.