Class WrsValidationResult
- java.lang.Object
-
- de.businesscode.bcdui.wrs.validation.WrsValidationResult
-
public class WrsValidationResult extends java.lang.Object
read more about validation handling in the documentation ofWrsValidationException
, this class mainly holds data required to be rendered by validationMessages.xslt template
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
WrsValidationResult.Record
static class
WrsValidationResult.Serializer
serializer for theWrsValidationException
, creates web row set format compatible to wrs:ValidationResult
-
Constructor Summary
Constructors Constructor Description WrsValidationResult()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addRecord(int rowPos, int colPos, java.lang.String error)
adds a new validation failure recordjava.util.Collection<WrsValidationResult.Record>
getRecords()
static void
main(java.lang.String[] args)
void
serializeTo(javax.xml.stream.XMLStreamWriter streamWriter)
-
-
-
Method Detail
-
addRecord
public void addRecord(int rowPos, int colPos, java.lang.String error)
adds a new validation failure record- Parameters:
colPos
-rowPos
-error
-
-
getRecords
public java.util.Collection<WrsValidationResult.Record> getRecords()
-
serializeTo
public void serializeTo(javax.xml.stream.XMLStreamWriter streamWriter)
-
main
public static void main(java.lang.String[] args) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-