com.opensymphony.xwork2.validator
Class AnnotationValidationConfigurationBuilder

java.lang.Object
  extended by com.opensymphony.xwork2.validator.AnnotationValidationConfigurationBuilder

public class AnnotationValidationConfigurationBuilder
extends java.lang.Object

AnnotationValidationConfigurationBuilder

Version:
$Id: AnnotationValidationConfigurationBuilder.java 894090 2009-12-27 18:18:29Z martinc $
Author:
Rainer Hermanns, jepjep

Constructor Summary
AnnotationValidationConfigurationBuilder(ValidatorFactory fac)
           
 
Method Summary
 java.util.List<ValidatorConfig> buildAnnotationClassValidatorConfigs(java.lang.Class aClass)
           
 java.lang.String resolvePropertyName(java.lang.reflect.Method method)
          Returns the property name for a method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnnotationValidationConfigurationBuilder

public AnnotationValidationConfigurationBuilder(ValidatorFactory fac)
Method Detail

buildAnnotationClassValidatorConfigs

public java.util.List<ValidatorConfig> buildAnnotationClassValidatorConfigs(java.lang.Class aClass)

resolvePropertyName

public java.lang.String resolvePropertyName(java.lang.reflect.Method method)
Returns the property name for a method. This method is independant from property fields.

Parameters:
method - The method to get the property name for.
Returns:
the property name for given method; null if non could be resolved.


Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.