Package org.openxava.validators.meta
Class MetaValidators
- java.lang.Object
-
- org.openxava.validators.meta.MetaValidators
-
public class MetaValidators extends java.lang.Object
- Author:
- Javier Paniza
-
-
Constructor Summary
Constructors Constructor Description MetaValidators()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
_addMetaValidator(MetaValidator newMetaValidator)
static void
_addMetaValidatorDefault(MetaValidatorFor newMetaValidator)
static void
_addMetaValidatorRequired(MetaValidatorFor newMetaValidator)
static MetaValidator
getMetaValidator(java.lang.String name)
static MetaValidatorFor
getMetaValidatorDefaultFor(java.lang.String typeStereotypeOrAnnotation)
static MetaValidatorFor
getMetaValidatorRequiredFor(java.lang.String typeOrStereotype)
-
-
-
Method Detail
-
_addMetaValidator
public static void _addMetaValidator(MetaValidator newMetaValidator) throws XavaException
- Throws:
XavaException
-
_addMetaValidatorRequired
public static void _addMetaValidatorRequired(MetaValidatorFor newMetaValidator) throws XavaException
- Throws:
XavaException
-
_addMetaValidatorDefault
public static void _addMetaValidatorDefault(MetaValidatorFor newMetaValidator) throws XavaException
- Throws:
XavaException
-
getMetaValidator
public static MetaValidator getMetaValidator(java.lang.String name) throws XavaException
- Throws:
XavaException
- If the validator is not registered or another problem.
-
getMetaValidatorRequiredFor
public static MetaValidatorFor getMetaValidatorRequiredFor(java.lang.String typeOrStereotype) throws XavaException
- Returns:
- Null if a validator for the clase is not found.
- Throws:
XavaException
-
getMetaValidatorDefaultFor
public static MetaValidatorFor getMetaValidatorDefaultFor(java.lang.String typeStereotypeOrAnnotation) throws XavaException
- Returns:
- Null if a validator for the clase is not found.
- Throws:
XavaException
-
-