|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.sovt.Sovt
This class provides some convenience methods to perform validation, transformation and inspection.
| Method Summary | |
static java.lang.Object |
transform(java.lang.Object object,
java.lang.String transformer)
Performs transformation of the object. |
static ValidationResult |
validate(java.lang.Object object,
java.lang.String validator)
Performs validation of the object. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static java.lang.Object transform(java.lang.Object object,
java.lang.String transformer)
object - Object to transform.transformer - Named transformer to use. This corresponds to the "id"
attribute in the xml definition.
public static ValidationResult validate(java.lang.Object object,
java.lang.String validator)
object - Object to validate.validator - Named validator to use. This corresponds to the "id"
attribute in the xml definition.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||