org.apache.bval.jsr303.extensions
Class AppendValidationToList
java.lang.Object
org.apache.bval.jsr303.BaseAppendValidation
org.apache.bval.jsr303.extensions.AppendValidationToList
- All Implemented Interfaces:
- AppendValidation
public class AppendValidationToList
- extends BaseAppendValidation
Description: AppendValidation
implementation that acts as an intermediate
cache of validations for further processing.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AppendValidationToList
public AppendValidationToList()
- Create a new AppendValidationToList instance.
performAppend
public <T extends Annotation> void performAppend(ConstraintValidation<T> validation)
- Performs the actual "appending" operation to the underlying data
structure that holds the validations. Implementations shouldn't try to do
more than that in this step.
- Specified by:
performAppend
in class BaseAppendValidation
- Type Parameters:
T
- The type of the validation.- Parameters:
validation
- The validation to be appended.
getValidations
public List<ConstraintValidation<?>> getValidations()
- Get the list of cached validations.
- Returns:
List
of ConstraintValidation
Copyright © 2010-2012 Apache Software Foundation. All Rights Reserved.