public class ValidationResults extends Object
Constructor and Description |
---|
ValidationResults() |
Modifier and Type | Method and Description |
---|---|
void |
addResult(XFTFieldWrapper field,
String briefMessage,
String xmlPath,
GenericWrapperElement e)
Adds error message to collection of results.
|
void |
addResult(XFTFieldWrapper field,
String briefMessage,
String xmlPath,
String fullMessage)
Adds error message to collection of results.
|
String |
getField(String s)
If there is a message for this field (sql_name) in the results, its message
is returned.
|
static GenericWrapperField |
GetField(String xmlPath) |
ArrayList<Object[]> |
getResults()
Gets results collection Object[VWrapperField,String(message)]
|
Iterator |
getResultsIterator()
basic iterator for the results collection.
|
boolean |
isValid()
If there were any erros then false, else true.
|
void |
setResults(ArrayList list) |
String |
toFullString() |
String |
toHTML()
Outputs the results collection as an Unordered List with HTML Tags.
|
String |
toString() |
public boolean isValid()
public ArrayList<Object[]> getResults()
public void setResults(ArrayList list)
list
- public void addResult(XFTFieldWrapper field, String briefMessage, String xmlPath, GenericWrapperElement e)
field
- message
- public void addResult(XFTFieldWrapper field, String briefMessage, String xmlPath, String fullMessage)
field
- message
- public Iterator getResultsIterator()
public String getField(String s)
s
- public String toHTML()
public String toFullString()
public static GenericWrapperField GetField(String xmlPath) throws XFTInitException, FieldNotFoundException, ElementNotFoundException
Copyright © 2015 Neuroinformatics Research Group. All rights reserved.