Anyframe Web

anyframe.web.struts.util
Class ValidatorError

java.lang.Object
  extended by org.apache.struts.action.ActionMessages
      extended by org.apache.struts.action.ActionErrors
          extended by anyframe.web.struts.util.ValidatorError
All Implemented Interfaces:
java.io.Serializable

public class ValidatorError
extends org.apache.struts.action.ActionErrors

The ValidatorError class which provides a method which gets validation Error Messages when execute initValidator method in org.apache.commons.validator.Validator class.

Author:
Byunghun Woo
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.struts.action.ActionMessages
org.apache.struts.action.ActionMessages.ActionMessageItem
 
Field Summary
 
Fields inherited from class org.apache.struts.action.ActionMessages
accessed, GLOBAL_MESSAGE, iCount, messages
 
Constructor Summary
ValidatorError()
           
 
Method Summary
 void checkValidation()
           
 java.lang.String getErrorMessage()
          This method which returns validation error message which is error filed, input value etc.
 boolean isValid()
          This method which returns a validation check value.
 
Methods inherited from class org.apache.struts.action.ActionMessages
add, add, clear, get, get, isAccessed, isEmpty, properties, size, size, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ValidatorError

public ValidatorError()
Method Detail

isValid

public boolean isValid()
This method which returns a validation check value.


getErrorMessage

public java.lang.String getErrorMessage()
This method which returns validation error message which is error filed, input value etc.

Returns:
validation error message

checkValidation

public void checkValidation()
                     throws java.lang.Exception
Throws:
java.lang.Exception

Anyframe Web

Copyright © 2008-2009 Samsung SDS. All Rights Reserved.