|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.planetalia.dynject.thirdparty.StrutsUtil
public class StrutsUtil
Helper class that converts dynject's error messages to the Struts "format"
| Constructor Summary | |
|---|---|
StrutsUtil()
|
|
| Method Summary | |
|---|---|
static org.apache.struts.action.ActionErrors |
convertErrors(ErrorMap errors)
Converts an error map to an ActionErrors instance |
static org.apache.struts.action.ActionErrors |
validate(java.lang.Object instance)
Validates an instance and returns the result as an ActionErrors structure |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StrutsUtil()
| Method Detail |
|---|
public static org.apache.struts.action.ActionErrors convertErrors(ErrorMap errors)
errors - Map of errors
public static org.apache.struts.action.ActionErrors validate(java.lang.Object instance)
instance - Instance to validate and normalize
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||