A B C D E F G I J K L M N O P R S T V W X

A

addBeanToCache(Object) - Method in class org.javalid.core.support.CacheSupport
Adds given instance to the cache (using instance.getClassName() as key).
addExpression(String) - Static method in class org.javalid.external.jsf.JsfFacadeShared
Makes an expression for given text.
addJsfExpressionTag(String) - Method in class org.javalid.external.jsf.JsfSupport
This method adds an expression tag around given value, thus #{value}.
afterPhase(PhaseEvent) - Method in class org.javalid.external.jsf.JvJsfUpdateValuesPhaseListener
Handles the actual validation.
AnnotationStorage - Class in org.javalid.core
Class for putting everything together, related to a method for validation.
AnnotationStorage(Method, Field, String, String, List<Annotation>, List<JvGroup>) - Constructor for class org.javalid.core.AnnotationStorage
Construct this object.
annotationSupport - Variable in class org.javalid.core.AnnotationValidatorImpl
 
AnnotationSupport - Class in org.javalid.core.support
Supportive class for reading core annotations and performing related actions.
AnnotationSupport(JvConfiguration) - Constructor for class org.javalid.core.support.AnnotationSupport
 
AnnotationValidator<T> - Interface in org.javalid.core
Validation interface for validating objects annotated with JV annotations.
AnnotationValidatorImpl - Class in org.javalid.core
Core validator implementing AnnotationValidator interface.
AnnotationValidatorImpl() - Constructor for class org.javalid.core.AnnotationValidatorImpl
Default constructor, using the default XML config file for JV.
AnnotationValidatorImpl(String) - Constructor for class org.javalid.core.AnnotationValidatorImpl
Create this validator using given xml file.
AnnotationValidatorImpl(String, boolean) - Constructor for class org.javalid.core.AnnotationValidatorImpl
Creates this validator using given xml file.
AnnotationValueResolver - Class in org.javalid.core
This is a special class for resolving annotation values, it is not used directly by the framework (currently).
AnnotationValueResolver() - Constructor for class org.javalid.core.AnnotationValueResolver
 

B

BeanLookup - Annotation Type in org.javalid.annotations.helper
This annotation should be used inside a @Lookup annotation to specify you wish to use a javabean to perform validation.
beforePhase(PhaseEvent) - Method in class org.javalid.external.jsf.JvJsfUpdateValuesPhaseListener
 
BetweenLength - Annotation Type in org.javalid.annotations.validation
Checks if annotated method returns a value where the length is between the length of this annotation.
BetweenLengthValidatorImpl - Class in org.javalid.core.validator
This class is responsible for validating the BetweenLength annotation.
BetweenLengthValidatorImpl() - Constructor for class org.javalid.core.validator.BetweenLengthValidatorImpl
 

C

cacheSupport - Variable in class org.javalid.core.AnnotationValidatorImpl
 
CacheSupport - Class in org.javalid.core.support
This special class provides cache support for the AnnotationValidatorImpl for caching bean instances.
CacheSupport() - Constructor for class org.javalid.core.support.CacheSupport
 
clone() - Method in class org.javalid.core.ValidatorCallInfo
 
CollectionSize - Annotation Type in org.javalid.annotations.validation
This annotation can be used for size checks on java.util.Collection or java.util.Map related classes (e.g a list, map, tree ..), can be specified on get methods and fields.
CollectionSizeValidatorImpl - Class in org.javalid.core.validator
This class is responsible for validating the CollectionSize annotation.
CollectionSizeValidatorImpl() - Constructor for class org.javalid.core.validator.CollectionSizeValidatorImpl
 
COMPONENT_TYPE - Static variable in class org.javalid.external.jsf.ui.component.JvUIComponentValidateAll
 
context - Variable in class org.javalid.external.spring.SpringAnnotationValidatorImpl
 
contextDestroyed(ServletContextEvent) - Method in class org.javalid.external.jsf.JvJsfContextListener
 
contextInitialized(ServletContextEvent) - Method in class org.javalid.external.jsf.JvJsfContextListener
 
convertMessages(List<ValidationMessage>, FacesContext) - Method in class org.javalid.external.jsf.JsfMessageConverter
The most simplistic way to convert Jv validation messages to JSF messages.
convertMessages(List<ValidationMessage>, FacesContext, String) - Method in class org.javalid.external.jsf.JsfMessageConverter
The most simplistic way to convert Jv validation messages to JSF messages.
convertMessages(List<ValidationMessage>, FacesContext, String, boolean, String) - Method in class org.javalid.external.jsf.JsfMessageConverter
Converts given validation messages to JSF messages.
convertMessages(List<ValidationMessage>, FacesContext, String, boolean, String, String) - Method in class org.javalid.external.jsf.JsfMessageConverter
Converts given validation messages to JSF messages.
convertMessages(List<ValidationMessage>, Errors) - Method in class org.javalid.external.spring.SpringMessageConverter
Adds given ValidationMessage instances to given Spring's Errors instance
convertValueToType(String, String) - Method in class org.javalid.core.support.ReflectionSupport
Converts given value to given type, types supported are:
- java.lang.String
- java.lang.Byte
- java.lang.Short
- java.lang.Integer
- java.lang.Float
- java.lang.Double
- java.lang.Long
And for each listed one their primitive equivalent (byte, short, int etc.), except String.
createFacesMessage(ResourceBundle, String, Object[], Locale) - Method in class org.javalid.external.jsf.JsfSupport
Creates a new faces message.
createFacesMessage(ResourceBundle, String, Object[], Locale, FacesMessage.Severity) - Method in class org.javalid.external.jsf.JsfSupport
Creates a new faces message.
createValidator() - Method in class org.javalid.external.jsf.ui.tag.JvUIValidateTag
 
CustomSaxErrorHandler - Class in org.javalid.core.support
Custom sax error handler, which simply logs.
CustomSaxErrorHandler() - Constructor for class org.javalid.core.support.CustomSaxErrorHandler
 

D

debugSupport - Variable in class org.javalid.core.AnnotationValidatorImpl
 
DebugSupport - Class in org.javalid.core.support
Provides some print related functions for debugging purposes only.
DebugSupport() - Constructor for class org.javalid.core.support.DebugSupport
 
DEFAULT_GROUP - Static variable in annotation type org.javalid.annotations.core.JvGroup
Default group used in JvGroup and as ValidateDefinition primaryGroup.
doValidate(PhaseEvent) - Method in class org.javalid.external.jsf.JvJsfUpdateValuesPhaseListener
Executes the actual validation.

E

encodeEnd(FacesContext, UIComponent) - Method in class org.javalid.external.jsf.ui.renderer.JvValidateAllRenderer
 
error(SAXParseException) - Method in class org.javalid.core.support.CustomSaxErrorHandler
 

F

FaceletsLibrary - Class in org.javalid.external.jsf.ui.library
Facelets library class for JSF components of JV.
FaceletsLibrary() - Constructor for class org.javalid.external.jsf.ui.library.FaceletsLibrary
 
fatalError(SAXParseException) - Method in class org.javalid.core.support.CustomSaxErrorHandler
 
findAnnotationValidator(FacesContext) - Static method in class org.javalid.external.jsf.JsfFacadeShared
This method attempts to locate a AnnotationValidator, does NOT initiate one.
findField(Object, String) - Method in class org.javalid.core.support.ReflectionSupport
Finds field (private fields included).
findField(Class, String) - Method in class org.javalid.core.support.ReflectionSupport
 
findMethod(Object, String) - Method in class org.javalid.core.support.ReflectionSupport
Finds given methodName on given instance, if found returns the method if not found raises a JvException.
findMethod(Object, String, Class[]) - Method in class org.javalid.core.support.ReflectionSupport
Finds given methodName on given instance, if found returns the method if not found raises a JvException.
findViewElement(String) - Method in class org.javalid.external.jsf.config.JsfConfiguration
Returns the ViewElement for given path or null if not found

G

getActive() - Method in class org.javalid.external.jsf.config.ValidationRuleElement
 
getAnnotations() - Method in class org.javalid.core.AnnotationStorage
 
getAnnotationStorageForFields(Object, String, String) - Method in class org.javalid.core.support.AnnotationSupport
 
getAnnotationStorageForMethods(Object, String, String) - Method in class org.javalid.core.support.AnnotationSupport
Returns a list containing AnnotationStorage objects.
getAnnotationValidator() - Method in class org.javalid.core.validator.JvConfigurationWrapper
Get the validator to use if needed (some advanced validation annotations need it)
getAsBigDecimal(String) - Method in class org.javalid.core.validator.ValidatorSupport
Tries to convert value to BigDecimal, returns on success.
getAsBigInteger(String) - Method in class org.javalid.core.validator.ValidatorSupport
Tries to convert value to BigInteger, returns on success.
getAttributeValue(NamedNodeMap, String, boolean, String) - Method in class org.javalid.core.support.XMLSupport
Method to get a value from an attribute, returns null if not found.
getBackingBeanName() - Method in class org.javalid.external.jsf.config.ValidationRuleElement
 
getBeanFromCache(Class) - Method in class org.javalid.core.support.CacheSupport
Returns instance from cache if found, null otherwise.
getBeanFromCache(String) - Method in class org.javalid.core.support.CacheSupport
Returns instance from cache if found, null otherwise.
getClassValues(JvParam[], Object[], JvConfigurationWrapper) - Method in class org.javalid.core.support.ReflectionSupport
Returns the classes for given parameter values (in the same order).
getComponentType() - Method in class org.javalid.external.jsf.ui.tag.JvUIValidateAllTag
 
getConfigWrapper() - Method in class org.javalid.core.config.JvConfiguration
Gets a new configuration wrapper for this configuration.
getCurrentClassLoader() - Method in class org.javalid.external.jsf.JsfSupport
Returns the classloader to use, by default the current thread's classloader otherwise the one of this class.
getCurrentLevelDeep() - Method in class org.javalid.core.ValidatorCallInfo
 
getCurrentPathPrefix() - Method in class org.javalid.core.ValidatorCallInfo
 
getExpressionStringForComponentProperty(UIComponent, String) - Method in interface org.javalid.external.jsf.JsfFacade
Returns the expression string from either the ValueBinding/ValueExpression that is resolved from the component using given property.
getExpressionStringForComponentProperty(UIComponent, String) - Method in class org.javalid.external.jsf.JsfFacadeImpl_11
 
getExpressionStringForComponentProperty(UIComponent, String) - Method in class org.javalid.external.jsf.JsfFacadeImpl_12
 
getFamily() - Method in class org.javalid.external.jsf.ui.component.JvUIComponentValidateAll
 
getField() - Method in class org.javalid.core.AnnotationStorage
 
getGroup() - Method in class org.javalid.core.ValidatorCallInfo
 
getGroup() - Method in class org.javalid.core.ValidatorParams
 
getGroup() - Method in class org.javalid.external.jsf.ui.component.JvUIComponentValidateAll
 
getGroup() - Method in class org.javalid.external.jsf.ui.tag.JvUIValidateAllTag
 
getGroup() - Method in class org.javalid.external.jsf.ui.tag.JvUIValidateTag
 
getGroup() - Method in class org.javalid.external.jsf.ui.validator.JvComponentValidator
 
getGroupName() - Method in class org.javalid.core.AnnotationStorage
 
getGroups() - Method in class org.javalid.external.jsf.config.ValidationRuleElement
 
getId() - Method in class org.javalid.external.jsf.config.ViewElement
 
getIgnoreUIComponentNotFound() - Method in class org.javalid.external.jsf.config.ValidationRuleElement
 
getImplementationClassForAnnotation(String) - Method in class org.javalid.core.config.JvConfiguration
Checks the map containing the annotation implementations supported by the framework.
getInstance() - Method in class org.javalid.core.ValidatorParams
 
getJsfBean(String) - Method in interface org.javalid.core.extlookup.JsfLookupExt
This method locates given bean and returns it.
getJsfBean(String) - Method in class org.javalid.external.jsf.lookup.JsfLookupExtImpl
 
getJsfConfiguration() - Method in class org.javalid.core.config.JvConfiguration
Returns the JsfConfiguration (if any), null otherwise.
getJsfFacade() - Method in class org.javalid.external.jsf.JsfSupport
Returns the current loaded jsf facade that is used by this class.
getLevelDeep() - Method in class org.javalid.core.ValidatorParams
 
getLookup() - Method in class org.javalid.core.config.JsfConfiguration
 
getLookup() - Method in class org.javalid.core.config.SpringConfiguration
 
getLookupClass() - Method in class org.javalid.core.config.JsfConfiguration
 
getLookupClass() - Method in class org.javalid.core.config.SpringConfiguration
 
getMaxLevelDeep() - Method in class org.javalid.core.ValidatorCallInfo
 
getMessage() - Method in class org.javalid.core.ValidationMessage
Returns the message code, you can override error codes in your own property file.
getMethod() - Method in class org.javalid.core.AnnotationStorage
 
getMethodInfo(Object, Method, String, String, JvConfigurationWrapper) - Method in class org.javalid.core.support.AnnotationSupport
Returns AnnotationStorage instance if the method must be validated either by itself or in one of its parent classes (must have JvGroup), in all other cases returns null (so skip this method).
getNamingContainerId() - Method in class org.javalid.external.jsf.config.ValidationRuleElement
 
getNotEmptyAnnotation() - Method in class org.javalid.core.AnnotationStorage
Convenience method to directly get the NotEmpty annotation on this method.
getNotNullAnnotation() - Method in class org.javalid.core.AnnotationStorage
Convenience method to directly get the NotNull annotation on this method.
getObject() - Method in class org.javalid.external.jsf.config.ValidationRuleElement
 
getPath() - Method in class org.javalid.core.AnnotationStorage
 
getPath() - Method in class org.javalid.core.ValidationMessage
Returns the error path
getPathForMethod(Method) - Method in class org.javalid.core.support.ReflectionSupport
Create a path for given method.
getPhaseId() - Method in class org.javalid.external.jsf.JvJsfUpdateValuesPhaseListener
 
getPrefixPath() - Method in class org.javalid.core.ValidatorParams
 
getPrimitiveAsObjectString(String) - Method in class org.javalid.core.support.ReflectionSupport
 
getPrimitiveClassType(String) - Method in class org.javalid.core.support.ReflectionSupport
For given primitive type (byte,short,int,long,float,double) returns equivalent Class.
getProxyRecognizers() - Method in class org.javalid.core.config.JvConfiguration
Returns all names to recognize a classname as a proxied object (only valid if isCheckForProxy() returns true, else this returns null).
getProxyRecognizers() - Method in class org.javalid.core.validator.JvConfigurationWrapper
Returns all names to recognize a classname as a proxied object (only valid if isCheckForProxy() returns true, else this returns null).
getRecurseLevel() - Method in class org.javalid.external.jsf.config.ValidationRuleElement
 
getReflectionSupport() - Method in class org.javalid.core.config.JvConfiguration
Returns ReflectionSupport instance, use it to perform reflective actions.
getReflectionSupport() - Method in class org.javalid.core.validator.JvConfigurationWrapper
Returns the ReflectionSupport instance used by the framework, use it to perform reflective actions.
getRendererType() - Method in class org.javalid.external.jsf.ui.tag.JvUIValidateAllTag
 
getResourceBundle(Locale, String) - Method in class org.javalid.external.jsf.JsfSupport
Returns the ResourceBundle, raises JvException if no ResourceBundle was found.
getResourceBundleFromJsfConfiguration(FacesContext, Locale) - Method in class org.javalid.external.jsf.JsfSupport
Convenience method, which loads the resource bundle that was defined in the jv jsf configuration file.
getResourceBundleName() - Method in class org.javalid.external.jsf.config.JsfConfiguration
Returns the bundleName to use, if NOT specified by the user returns null, indicating the default bundleName on the facescontext must be used.
getSpringBean(String) - Method in interface org.javalid.core.extlookup.SpringLookupExt
This method locates given bean and returns it.
getSpringBean(String) - Method in class org.javalid.external.spring.lookup.SpringLookupExtImpl
 
getSpringConfiguration() - Method in class org.javalid.core.config.JvConfiguration
Returns the SpringConfiguration (if any), null otherwise.
getValidateCallInfo() - Static method in class org.javalid.core.ThreadState
Returns ValidatorCallInfo associated with current thread, note it is set during a call to validateObject / validateProperty.
getValidationDefinition(Object) - Method in class org.javalid.core.support.AnnotationSupport
Checks given object and returns its ValidateDefinition if found, null otherwise.
getValidationDefinition(Class) - Method in class org.javalid.core.support.AnnotationSupport
 
getValidationPrefixPath() - Method in class org.javalid.external.jsf.config.ValidationRuleElement
 
getValidationRuleElements() - Method in class org.javalid.external.jsf.config.ViewElement
 
getValidator() - Method in class org.javalid.core.config.JsfConfiguration
 
getValidator() - Method in class org.javalid.core.config.SpringConfiguration
 
getValidator() - Method in class org.javalid.external.spring.SpringValidator
 
getValidatorCallInfo() - Method in class org.javalid.core.validator.ValidatorSupport
Convenience method, which retrieves the current ValidatorInfo associated with this thread and clones it, then returns the value.
getValidatorClass() - Method in class org.javalid.core.config.JsfConfiguration
 
getValidatorClass() - Method in class org.javalid.core.config.SpringConfiguration
 
getValidatorMap() - Method in class org.javalid.external.spring.SpringValidator
 
getValue() - Method in class org.javalid.core.AnnotationValueResolver
Use this map to retrieve an annotation value.
getValueAsDouble(Object) - Method in class org.javalid.core.validator.ValidatorSupport
For given value, try to convert it to a double value and return it.
getValueForComponentProperty(FacesContext, UIComponent, String) - Method in interface org.javalid.external.jsf.JsfFacade
Gets the value of a property from a component.
getValueForComponentProperty(FacesContext, UIComponent, String) - Method in class org.javalid.external.jsf.JsfFacadeImpl_11
 
getValueForComponentProperty(FacesContext, UIComponent, String) - Method in class org.javalid.external.jsf.JsfFacadeImpl_12
 
getValueForExpression(FacesContext, String) - Method in interface org.javalid.external.jsf.JsfFacade
For given expression, lookups ValueBinding / ValueExpression and retrieves the value from it.
getValueForExpression(FacesContext, String) - Method in class org.javalid.external.jsf.JsfFacadeImpl_11
 
getValueForExpression(FacesContext, String) - Method in class org.javalid.external.jsf.JsfFacadeImpl_12
 
getValueFromField(Object, Field) - Method in class org.javalid.core.support.ReflectionSupport
Retrieves the value from given field, first calls setAccessible(true) to allow access to private fields.
getValues() - Method in class org.javalid.core.ValidationMessage
Returns the values associated to this message (if any), see the validation annotations to find out what is stored in here exactly.
getValuesForJvParams(Object, String, JvParam[], JvConfigurationWrapper) - Method in class org.javalid.core.support.ReflectionSupport
Returns the values for given parameter.
GROUP_APPLY_ALL - Static variable in annotation type org.javalid.annotations.core.JvGroup
Annotations (validation ones) can refer to this constant to denote they apply to whatever group is specified on the method (all groups).

I

init() - Method in class org.javalid.core.AnnotationStorage
Initializes everything, called from constructor.
init(String) - Method in class org.javalid.core.config.JvConfiguration
 
init(String, ServletContext) - Method in class org.javalid.external.jsf.config.JsfConfiguration
 
Instance - Static variable in class org.javalid.external.jsf.ui.library.FaceletsLibrary
 
instantiate(String) - Method in class org.javalid.core.support.ReflectionSupport
Convenience method, which tries to locate and create a class first and then calls instantiate(clazz).
instantiate(Class) - Method in class org.javalid.core.support.ReflectionSupport
Instantiates given class (must hava a public non-args constructor).
instantiate(String, Class[], Object[]) - Method in class org.javalid.core.support.ReflectionSupport
Uses given className and tries to locate it, then calls instantiate(..) method of this class.
instantiate(Class, Class[], Object[]) - Method in class org.javalid.core.support.ReflectionSupport
Instantiates given class.
invokeMethod(Object, Method, Object[]) - Method in class org.javalid.core.support.ReflectionSupport
Invokes given method using the object and parameters provided.
isActive() - Method in class org.javalid.external.jsf.ui.component.JvUIComponentValidateAll
 
isActive() - Method in class org.javalid.external.jsf.ui.tag.JvUIValidateAllTag
 
isActive() - Method in class org.javalid.external.jsf.ui.tag.JvUIValidateTag
 
isActive() - Method in class org.javalid.external.jsf.ui.validator.JvComponentValidator
 
isAnnotationValidated(String) - Method in class org.javalid.core.AnnotationStorage
Returns true if given annotation-class has already been validated on the method's value (so there's no need to validate them twice).
isBeanInCache(Class) - Method in class org.javalid.core.support.CacheSupport
Return true if for given clazz an instance is in the cache.
isBeanInCache(String) - Method in class org.javalid.core.support.CacheSupport
Return true if for given className an instance is in the cache.
isBigMathNumber(Object) - Method in class org.javalid.core.validator.ValidatorSupport
Returns true if given value is a big number (BigInteger or BigDecimal).
isCacheResults() - Method in class org.javalid.core.AnnotationValueResolver
Is the class allowed to cache results.
isCheckAnnotationsOnMethods() - Method in class org.javalid.core.config.JvConfiguration
Returns true if annotations must be checked on methods, if false fields must be used.
isCheckAnnotationsOnMethods() - Method in class org.javalid.core.validator.JvConfigurationWrapper
Returns true if annotations must be checked on methods, if false fields must be used.
isCheckForProxy() - Method in class org.javalid.core.config.JvConfiguration
Return true if classes should check the parent class for an annotation (method annotations e.g) if not found on the current method/class.
isCheckForProxy() - Method in class org.javalid.core.validator.JvConfigurationWrapper
Return true if classes should check the parent class for an annotation (method annotations e.g) if not found on the current method/class.
isEmptyString(String) - Method in class org.javalid.core.validator.ValidatorSupport
Returns true if given string is either null or has a length of 0.
isExpression(String) - Static method in class org.javalid.external.jsf.JsfFacadeShared
Checks if given value starts with #{ or ${ and ends with }, like a jsf expression.
isGlobalMessage() - Method in class org.javalid.core.ValidationMessage
Returns true if this message should be a global message (note that this property is originally taken from annotation's globalMessage), there it can be used to say that an error when validating for that annotation must be shown as a global message instead of using the validation path.
isImplementationClassAvailableForAnnotation(String) - Method in class org.javalid.core.config.JvConfiguration
Returns true if for given fully qualified classname of an annotation, a validator is available
isJsfExpression(String) - Method in class org.javalid.external.jsf.JsfSupport
Checks if given value starts with #{ or ${ and ends with }, like a jsf expression.
isNumericValue(Object) - Method in class org.javalid.core.validator.ValidatorSupport
Returns true if given value is a numeric value (either as wrapper or as real primitive, which is now in a wrapper anyway).
isPrimitiveClassType(String) - Method in class org.javalid.core.support.ReflectionSupport
Returns if given type is a primitive class type.
isPrimitiveSupportedType(String) - Method in class org.javalid.core.support.ReflectionSupport
Returns true if given type is supported by the framework (in core validation implementations or just in general).
isPropertyCall() - Method in class org.javalid.core.ValidatorCallInfo
 
isRecurse() - Method in class org.javalid.core.ValidatorCallInfo
 
isRecurse() - Method in class org.javalid.core.ValidatorParams
 
isRecursionAllowed(String) - Method in class org.javalid.core.AnnotationStorage
Returns true if recursion for this group is allowed, false if it is not.
isTransient() - Method in class org.javalid.external.jsf.ui.validator.JvComponentValidator
 
isValidFieldForValidation(Field) - Method in class org.javalid.core.support.ReflectionSupport
Returns true if given field is non-static, basically we allow every field for validation except for static fields.
isValidGetMethod(Method) - Method in class org.javalid.core.support.ReflectionSupport
Returns true if given method conforms to the standard javabean standard for a get method.
isViewElementPresent(String) - Method in class org.javalid.external.jsf.config.JsfConfiguration
Return true if for given path a ViewElement exists

J

JavalidException - Exception in org.javalid.core
Runtime exception thrown by the framework if a serious error occurs during for instance configuration loading and/or validation.
JavalidException(String) - Constructor for exception org.javalid.core.JavalidException
 
JavalidException(String, Throwable) - Constructor for exception org.javalid.core.JavalidException
 
JavalidLookupFailedException - Exception in org.javalid.core
Raised by methods that fail to lookup a bean (in e.g. spring, seam or jndi).
JavalidLookupFailedException(String) - Constructor for exception org.javalid.core.JavalidLookupFailedException
 
JavalidLookupFailedException(String, Throwable) - Constructor for exception org.javalid.core.JavalidLookupFailedException
 
JavalidValidator<T extends java.lang.annotation.Annotation> - Interface in org.javalid.core.validator
This interface is the contract for a class that performs validation for an annotation.
JSF_FACADE_CLASS_11 - Static variable in interface org.javalid.external.jsf.JsfFacade
The class implementing the facade for JSF 1.1
JSF_FACADE_CLASS_12 - Static variable in interface org.javalid.external.jsf.JsfFacade
The class implementing the facade for JSF 1.2
JsfConfiguration - Class in org.javalid.core.config
JSF specific configuration file, this configuration is initialized by JvConfiguration.
JsfConfiguration(String, String, JsfLookupExt, JsfValidatorExt) - Constructor for class org.javalid.core.config.JsfConfiguration
Initializes this JSF configuration
JsfConfiguration - Class in org.javalid.external.jsf.config
This class is responsible for loading the jsf xml configuration (validation rules and such).
JsfConfiguration(String, ServletContext) - Constructor for class org.javalid.external.jsf.config.JsfConfiguration
 
JsfFacade - Interface in org.javalid.external.jsf
This interface is implemented by two classes, each for a different JSF version (1.1 and 1.2).
JsfFacadeImpl_11 - Class in org.javalid.external.jsf
This implements the JSF version facade, for JSF 1.1 implementations.
JsfFacadeImpl_11() - Constructor for class org.javalid.external.jsf.JsfFacadeImpl_11
 
JsfFacadeImpl_12 - Class in org.javalid.external.jsf
This implements the JSF version facade, for JSF 1.2 implementations.
JsfFacadeImpl_12() - Constructor for class org.javalid.external.jsf.JsfFacadeImpl_12
 
JsfFacadeShared - Class in org.javalid.external.jsf
Shared methods for the jsf part of the framework.
JsfFacadeShared() - Constructor for class org.javalid.external.jsf.JsfFacadeShared
 
JsfLookup - Annotation Type in org.javalid.annotations.helper
Use this supportive annotation inside @Lookup to specify you wish to use the JsfLookup to find a class to do validation with (or anything else, depending on the situation where it is used exactly).
JsfLookupExt - Interface in org.javalid.core.extlookup
This interface defines the contract that must be used for looking up JSF (Java Server Faces) beans.
JsfLookupExtImpl - Class in org.javalid.external.jsf.lookup
Implements JsfLookupExt, which allows access to JSF beans.
JsfLookupExtImpl() - Constructor for class org.javalid.external.jsf.lookup.JsfLookupExtImpl
 
JsfMessageConverter - Class in org.javalid.external.jsf
This class can be used to convert a standard List<ValidationMessage> result to JSF (Java Server Faces) messages.
JsfMessageConverter(JsfSupport) - Constructor for class org.javalid.external.jsf.JsfMessageConverter
 
JsfSupport - Class in org.javalid.external.jsf
Utility class for JSF.
JsfSupport() - Constructor for class org.javalid.external.jsf.JsfSupport
 
JsfValidatorExt - Interface in org.javalid.core.extvalidator
Interface that should be implemented by a validator that uses JSF beans to perform validation.
JsfValidatorExtImpl - Class in org.javalid.external.jsf.validator
JSF validator that is used by the jv-framework to validate with backing beans.
JsfValidatorExtImpl() - Constructor for class org.javalid.external.jsf.validator.JsfValidatorExtImpl
 
JV_ANNOTATION_VALIDATOR_CONFIG_FILE_INIT_PARAM - Static variable in class org.javalid.external.jsf.JvJsfContextListener
Servlet init parameter name (web.xml), the value should tell what JV config file to use (full path).
JV_ANNOTATION_VALIDATOR_IMPLEMENTATION_CLASS_INIT_PARAM - Static variable in class org.javalid.external.jsf.JvJsfContextListener
Servlet init parameter name (web.xml), denoting which AnnotationValidator class must be instantiated (and stored in the servlet context).
JV_CONFIG_DEFAULT_FILE - Static variable in class org.javalid.core.config.JvConfiguration
Default configuration file that ships in the core jar file and used by AnnotationValidatorImpl by default if not told otherwise.
JV_JSF_CONFIG_FILE_INIT_PARAM - Static variable in class org.javalid.external.jsf.JvJsfContextListener
Servlet init parameter name (web.xml), the value should tell what config file to use (full path).
JV_VALUE_TO_NULL_FOR_EMPTY_STRING_INIT_PARAM - Static variable in class org.javalid.external.jsf.JvJsfContextListener
Servlet init parameter name (web.xml), denoting whether to set empty string/stringbuffer values to null during validation.
JvComponentValidator - Class in org.javalid.external.jsf.ui.validator
This validator allows validation of a single property (in contrast to the normal JV framework behavior).
JvComponentValidator() - Constructor for class org.javalid.external.jsf.ui.validator.JvComponentValidator
 
JvComponentValidator(String, boolean) - Constructor for class org.javalid.external.jsf.ui.validator.JvComponentValidator
 
jvConfig - Variable in class org.javalid.core.AnnotationValidatorImpl
 
JvConfiguration - Class in org.javalid.core.config
This class is responsible for loading the xml configuration file(s) and create a valid configuration from it.
JvConfiguration(String, AnnotationValidator) - Constructor for class org.javalid.core.config.JvConfiguration
 
JvConfigurationWrapper - Class in org.javalid.core.validator
Wrapper class that is exposed to validator's implementations.
JvConfigurationWrapper(JvConfiguration, AnnotationValidator) - Constructor for class org.javalid.core.validator.JvConfigurationWrapper
Construct this wrapper
jvConfigWrapper - Variable in class org.javalid.core.AnnotationValidatorImpl
Wrapper around JvConfiguration, this one should be passed to client code (e.g. validator implementations).
JvGroup - Annotation Type in org.javalid.annotations.core
Group annotation which specifies 1 or more groups and also automatically assures the method is validated.
JvJsfContextListener - Class in org.javalid.external.jsf
Use this context listener to store both the AnnotationValidator and the JvJsfConfiguration instance in the servlet context.
JvJsfContextListener() - Constructor for class org.javalid.external.jsf.JvJsfContextListener
 
JvJsfUpdateValuesPhaseListener - Class in org.javalid.external.jsf
This class allows xml-driven validation for jsf pages.
JvJsfUpdateValuesPhaseListener() - Constructor for class org.javalid.external.jsf.JvJsfUpdateValuesPhaseListener
 
JvMethod - Annotation Type in org.javalid.annotations.core
This annotation is used inside @Lookup related annotations.
JvParam - Annotation Type in org.javalid.annotations.core
This annotation is used by @JvMethod to set input parameters for a method call.
JvUIComponentValidateAll - Class in org.javalid.external.jsf.ui.component
This is the validateAll component, which allows validation per property (to all EditableValueHolders within this tag a JvComponentValidator is added).
JvUIComponentValidateAll() - Constructor for class org.javalid.external.jsf.ui.component.JvUIComponentValidateAll
 
JvUIValidateAllTag - Class in org.javalid.external.jsf.ui.tag
Tag for JvUIComponentValidateAll component (tag is called validateAll).
JvUIValidateAllTag() - Constructor for class org.javalid.external.jsf.ui.tag.JvUIValidateAllTag
 
JvUIValidateTag - Class in org.javalid.external.jsf.ui.tag
Validator tag called: validate (can be added to input components)
JvUIValidateTag() - Constructor for class org.javalid.external.jsf.ui.tag.JvUIValidateTag
 
JvValidateAllRenderer - Class in org.javalid.external.jsf.ui.renderer
This renderer assures that JvComponentValidator's are added to EditableValueHolder components if they don't have it.
JvValidateAllRenderer() - Constructor for class org.javalid.external.jsf.ui.renderer.JvValidateAllRenderer
 

K

KEY_ANNOTATION_VALIDATOR_LOCATION - Static variable in class org.javalid.external.jsf.JsfFacadeShared
Stores the AnnotationValidator implementation class under servlet context using this key, used by JvJsfContextListener.
KEY_ANNOTATION_VALIDATOR_LOCATION - Static variable in class org.javalid.external.jsf.JsfSupport
See JsfFacadeShared, this one is here for backwards compatibility only.
KEY_JSF_CONFIGURATION_LOCATION - Static variable in class org.javalid.external.jsf.JsfFacadeShared
See JsfFacadeShared, this one is here for backwards compatibility only.
KEY_JSF_CONFIGURATION_LOCATION - Static variable in class org.javalid.external.jsf.JsfSupport
See JsfFacadeShared, this one is here for backwards compatibility only.

L

loadDocument(String) - Method in class org.javalid.core.support.XMLSupport
Tries to load given filename using getClass().getResource(..).
loadValidator(FacesContext) - Method in class org.javalid.external.jsf.JvJsfUpdateValuesPhaseListener
Loads the annotationvalidator using given servlet context.
locateAnnotationValidator(FacesContext) - Method in class org.javalid.external.jsf.JsfSupport
Deprecated. Will be removed in the next major release, use JsfFacadeShared instead.
locateJsfConfiguration(FacesContext) - Method in class org.javalid.external.jsf.JsfSupport
This method attempts to locate the JsfConfiguration, does NOT initiate one.
Lookup - Annotation Type in org.javalid.annotations.helper
This annotation can be used as a lookup element in special validation implementations (through the ValidateDefinition element) Another use by annotations, for instance the LovConstraint annotation.
LOOKUP_JSF_BEAN - Static variable in annotation type org.javalid.annotations.helper.Lookup
If type is set to this, this lookup tells it will use a java server faces bean (obviously you must make use of jsf for this to work).
LOOKUP_NORMAL_BEAN - Static variable in annotation type org.javalid.annotations.helper.Lookup
If type is set to this, this lookup tells it will use a normal javabean.
LOOKUP_SPRING_BEAN - Static variable in annotation type org.javalid.annotations.helper.Lookup
If type is set to this, this lookup tells it will use a spring bean (note that you must have configured spring).
lookupBean(int, String) - Method in class org.javalid.core.config.JvConfiguration
For given lookupType (Lookup.XXX) locates given beanName and returns bean instance if found.
lookupBean(int, String) - Method in class org.javalid.core.validator.JvConfigurationWrapper
For given lookupType (Lookup.XXX constants) locates given beanName and returns bean instance if found.
LovConstraint - Annotation Type in org.javalid.annotations.validation
Checks if annotated method returns a value that is either 'in' or 'not in' the Lov (List Of Values).
LovConstraintValidatorImpl - Class in org.javalid.core.validator
This class is responsible for validating the LovConstraint annotation.
LovConstraintValidatorImpl() - Constructor for class org.javalid.core.validator.LovConstraintValidatorImpl
 

M

MaxLength - Annotation Type in org.javalid.annotations.validation
Checks if annotated method returns a value where the length is less than length of this annotation.
MaxLengthValidatorImpl - Class in org.javalid.core.validator
This class is responsible for validating the MaxLength annotation.
MaxLengthValidatorImpl() - Constructor for class org.javalid.core.validator.MaxLengthValidatorImpl
 
MaxValue - Annotation Type in org.javalid.annotations.validation
Checks if annotated method returns a value with no more than the maximum value.
MaxValueValidatorImpl - Class in org.javalid.core.validator
This class is responsible for validating the MaxValue annotation.
MaxValueValidatorImpl() - Constructor for class org.javalid.core.validator.MaxValueValidatorImpl
 
MessageCodes - Class in org.javalid.core.validator
This class contains all JV error messages as constants (the pre-defined ones at least)
MessageCodes() - Constructor for class org.javalid.core.validator.MessageCodes
 
MinLength - Annotation Type in org.javalid.annotations.validation
Checks if annotated method return a value that has the minimum annotated length.
MinLengthValidatorImpl - Class in org.javalid.core.validator
This class is responsible for validating the MinLength annotation.
MinLengthValidatorImpl() - Constructor for class org.javalid.core.validator.MinLengthValidatorImpl
 
MinValue - Annotation Type in org.javalid.annotations.validation
Checks if annotated method returns a value with given minimum value.
MinValueValidatorImpl - Class in org.javalid.core.validator
This class is responsible for validating the MinValue annotation.
MinValueValidatorImpl() - Constructor for class org.javalid.core.validator.MinValueValidatorImpl
 
MODE_BEAN - Static variable in annotation type org.javalid.annotations.core.JvParam
If valueRetrievalMode is set to this, it means a javabean must be used (through property beanClass) as input parameter (either with a method call on it returning the value or without, depending on requiresMethodCall property).
MODE_BETWEEN - Static variable in annotation type org.javalid.annotations.validation.CollectionSize
If this mode is used, you must specify both minimumSize() and maximumSize() properties.
MODE_CURRENT_OBJECT - Static variable in annotation type org.javalid.annotations.core.JvParam
Specify this to represent, that this parameter must be passed the object that requires validation.
MODE_CURRENT_PATH - Static variable in annotation type org.javalid.annotations.core.JvParam
Specify this to represent, that this parameter must be passed the current path (path of the current object of validation).
MODE_EQUALS - Static variable in annotation type org.javalid.annotations.validation.CollectionSize
If this mode is used (the default), you must specify the size() property.
MODE_LOOKUP_SPRING - Static variable in annotation type org.javalid.annotations.core.JvParam
If valueRetrievalMode is set to this, it means a javabean must be used (through property lookupName) as input parameter (either with a method call on it returning the value or without, depending on requiresMethodCall property).
MODE_MAXIMUM - Static variable in annotation type org.javalid.annotations.validation.CollectionSize
If this mode is used, you must specify the maximumSize() property.
MODE_MINIMUM - Static variable in annotation type org.javalid.annotations.validation.CollectionSize
If this mode is used, you must specify the mimimumSize() property.
MODE_NOT_EQUALS - Static variable in annotation type org.javalid.annotations.validation.CollectionSize
If this mode is used, you must specify the size() property.
MODE_VALUE - Static variable in annotation type org.javalid.annotations.core.JvParam
If valueRetrievalMode is set to this, the direct value must be specified (a literal value).
MSG_BETWEEN_LENGTH_ERROR - Static variable in class org.javalid.core.validator.MessageCodes
When a java.lang.String/java.lang.StringBuffer value is not between the lengths specified by BetweenLength annotations.
MSG_COLLECTION_MODE_BETWEEN - Static variable in class org.javalid.core.validator.MessageCodes
When the mode of @CollectionSize is between, and the collection's size is < than given minimumSize or < than given maximumSize, this error is raised.
MSG_COLLECTION_MODE_EQUALS_ERROR - Static variable in class org.javalid.core.validator.MessageCodes
When the mode of @CollectionSize is equals, and the collection is not equal to given size this error is raised.
MSG_COLLECTION_MODE_MAXIMUM - Static variable in class org.javalid.core.validator.MessageCodes
When the mode of @CollectionSize is maximum, and the collection's size is > than given maximumSize, this error is raised.
MSG_COLLECTION_MODE_MINIMUM - Static variable in class org.javalid.core.validator.MessageCodes
When the mode of @CollectionSize is minimum, and the collection's size is < than given minimumSize, this error is raised.
MSG_COLLECTION_MODE_NOT_EQUALS_ERROR - Static variable in class org.javalid.core.validator.MessageCodes
When the mode of @CollectionSize is not equals, and the collection is equal to given size this error is raised.
MSG_LOV_CONSTR_VALUE_IN_LOV_ERROR - Static variable in class org.javalid.core.validator.MessageCodes
The opposite of MSG_LOV_CONSTR_VALUE_NOT_IN_LOV_ERROR, if the value is found in the array / collection this error is raised.
MSG_LOV_CONSTR_VALUE_NOT_IN_LOV_ERROR - Static variable in class org.javalid.core.validator.MessageCodes
When a method's value is not in an LovConstraint's values this error is raised.
MSG_MAX_LENGTH_ERROR - Static variable in class org.javalid.core.validator.MessageCodes
When a java.lang.String/java.lang.StringBuffer value is more than maximum length.
MSG_MAX_VALUE_ERROR - Static variable in class org.javalid.core.validator.MessageCodes
When a value is larger than the specified maximum (is more than).
MSG_MIN_LENGTH_ERROR - Static variable in class org.javalid.core.validator.MessageCodes
When a java.lang.String/java.lang.StringBuffer value is not of minimum length.
MSG_MIN_VALUE_ERROR - Static variable in class org.javalid.core.validator.MessageCodes
When a value does not have the specified minimum (is less than).
MSG_NOT_EMPTY_ERROR - Static variable in class org.javalid.core.validator.MessageCodes
When a value violates the notempty annotation (thus is empty).
MSG_NOT_NULL_ERROR - Static variable in class org.javalid.core.validator.MessageCodes
When a value is null, while it should be 'not null'.
MSG_NOT_NUMERIC_ERROR - Static variable in class org.javalid.core.validator.MessageCodes
When a value is NOT numeric, while it should be.
MSG_REGULAR_EXPRESSION_ERROR - Static variable in class org.javalid.core.validator.MessageCodes
When the java.lang.String/java.lang.StringBuffer is not conform RegularExpression's pattern, this error is raised.

N

NAME_SPACE - Static variable in class org.javalid.external.jsf.ui.library.FaceletsLibrary
 
newJsfFacade() - Static method in class org.javalid.external.jsf.JsfSupport
Attempts to create a new JsfFacade in either 1.1 or 1.2 version and returns it.
NotEmpty - Annotation Type in org.javalid.annotations.validation
Checks if given getXXX method returns an empty String.
NotEmptyValidatorImpl - Class in org.javalid.core.validator
This class is responsible for validating the NotEmpty annotation.
NotEmptyValidatorImpl() - Constructor for class org.javalid.core.validator.NotEmptyValidatorImpl
 
NotNull - Annotation Type in org.javalid.annotations.validation
Checks if given getXXX method returns a non-null value.
NotNullValidatorImpl - Class in org.javalid.core.validator
This class is responsible for validating the NotNull annotation.
NotNullValidatorImpl() - Constructor for class org.javalid.core.validator.NotNullValidatorImpl
 

O

OPERATOR_IN - Static variable in annotation type org.javalid.annotations.validation.LovConstraint
Operator value, value must be IN lov.
OPERATOR_NOT_IN - Static variable in annotation type org.javalid.annotations.validation.LovConstraint
Operator value, value must NOT be in lov.
org.javalid.annotations.core - package org.javalid.annotations.core
 
org.javalid.annotations.helper - package org.javalid.annotations.helper
 
org.javalid.annotations.validation - package org.javalid.annotations.validation
 
org.javalid.core - package org.javalid.core
 
org.javalid.core.config - package org.javalid.core.config
 
org.javalid.core.extlookup - package org.javalid.core.extlookup
 
org.javalid.core.extvalidator - package org.javalid.core.extvalidator
 
org.javalid.core.support - package org.javalid.core.support
 
org.javalid.core.validator - package org.javalid.core.validator
 
org.javalid.external.jsf - package org.javalid.external.jsf
 
org.javalid.external.jsf.config - package org.javalid.external.jsf.config
 
org.javalid.external.jsf.lookup - package org.javalid.external.jsf.lookup
 
org.javalid.external.jsf.ui.component - package org.javalid.external.jsf.ui.component
 
org.javalid.external.jsf.ui.library - package org.javalid.external.jsf.ui.library
 
org.javalid.external.jsf.ui.renderer - package org.javalid.external.jsf.ui.renderer
 
org.javalid.external.jsf.ui.tag - package org.javalid.external.jsf.ui.tag
 
org.javalid.external.jsf.ui.validator - package org.javalid.external.jsf.ui.validator
 
org.javalid.external.jsf.validator - package org.javalid.external.jsf.validator
 
org.javalid.external.spring - package org.javalid.external.spring
 
org.javalid.external.spring.lookup - package org.javalid.external.spring.lookup
 
org.javalid.external.spring.validator - package org.javalid.external.spring.validator
 

P

printMethods(List<Method>, Logger) - Method in class org.javalid.core.support.DebugSupport
Prints the name of the methods given in the list to logger.debug
propertyToGetMethod(String) - Method in class org.javalid.core.support.ReflectionSupport
Converts given property name to a valid get method name.

R

reflectionSupport - Variable in class org.javalid.core.AnnotationValidatorImpl
 
ReflectionSupport - Class in org.javalid.core.support
Supportive class for reflective and/or class related methods.
ReflectionSupport() - Constructor for class org.javalid.core.support.ReflectionSupport
 
RegularExpression - Annotation Type in org.javalid.annotations.validation
Checks if annotated method returns a value conform a regular expression.
RegularExpressionValidatorImpl - Class in org.javalid.core.validator
This class is responsible for validating the RegularExpression annotation.
RegularExpressionValidatorImpl() - Constructor for class org.javalid.core.validator.RegularExpressionValidatorImpl
 
release() - Method in class org.javalid.external.jsf.ui.tag.JvUIValidateAllTag
 
release() - Method in class org.javalid.external.jsf.ui.tag.JvUIValidateTag
 
removeExpression(String) - Static method in class org.javalid.external.jsf.JsfFacadeShared
For given expression string strips the jsf tags, e.g.
removeProxyClass(Class, String[]) - Method in class org.javalid.core.support.ReflectionSupport
Checks given class if it contains a proxyRecognizer, if so goes to the super class and checks again, until none is found anymore.
RENDERER_TYPE - Static variable in class org.javalid.external.jsf.ui.component.JvUIComponentValidateAll
 
restoreState(FacesContext, Object) - Method in class org.javalid.external.jsf.ui.validator.JvComponentValidator
 

S

saveState(FacesContext) - Method in class org.javalid.external.jsf.ui.validator.JvComponentValidator
 
setActive(boolean) - Method in class org.javalid.external.jsf.ui.component.JvUIComponentValidateAll
 
setActive(boolean) - Method in class org.javalid.external.jsf.ui.tag.JvUIValidateAllTag
 
setActive(boolean) - Method in class org.javalid.external.jsf.ui.tag.JvUIValidateTag
 
setActive(boolean) - Method in class org.javalid.external.jsf.ui.validator.JvComponentValidator
 
setAliasesForClassMap(Map<String, String>) - Method in class org.javalid.core.AnnotationValueResolver
Register your business objects you need access to from within your (JSF) pages.
setAnnotationValidated(String, boolean, boolean) - Method in class org.javalid.core.AnnotationStorage
Change the validation for a fully qualified annotation class name
setApplicationContext(Object) - Method in interface org.javalid.core.extlookup.SpringLookupExt
Called by the jv framework when initializing the implementation class (right after jvConfiguration is set).
setApplicationContext(Object) - Method in class org.javalid.external.spring.lookup.SpringLookupExtImpl