Package | Description |
---|---|
org.foxlabs.validation | |
org.foxlabs.validation.support |
Modifier and Type | Field and Description |
---|---|
protected ValidationTarget |
Validator.Context.currentTarget
Current validation target we are validating.
|
Modifier and Type | Method and Description |
---|---|
ValidationTarget |
Validator.Context.getCurrentTarget()
Returns current validation target we are validating.
|
ValidationTarget |
ValidationContext.getCurrentTarget()
Returns current validation target we are validating.
|
ValidationTarget |
ViolationException.getInvalidTarget()
Returns validation target of the invalid value.
|
static ValidationTarget |
ValidationTarget.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ValidationTarget[] |
ValidationTarget.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
Validator.Context.setCurrentTarget(ValidationTarget target)
Sets current validation target we are validating.
|
void |
ValidationContext.setCurrentTarget(ValidationTarget target)
Sets current validation target we are validating.
|
Constructor and Description |
---|
ValidationTargetException(Annotation annotation,
ValidationTarget target)
Constructs a new
ValidationTargetException with the
specified annotation and target. |
Modifier and Type | Field and Description |
---|---|
protected static Set<ValidationTarget> |
AnnotationSupport.DEFAULT_TARGET_SET
Default set of validation targets.
|
Modifier and Type | Method and Description |
---|---|
protected static Set<ValidationTarget> |
AnnotationSupport.getAnnotationTargets(Annotation annotation)
Returns
targets property value from the specified annotation
or default target set if annotation has no such property. |
Copyright © 2011–2020 FoxLabs. All rights reserved.