Class SKOSXLLabelPropertyValidator
java.lang.Object
it.uniroma2.art.semanticturkey.validators.SKOSXLLabelPropertyValidator
- All Implemented Interfaces:
jakarta.validation.ConstraintValidator<SKOSXLLabelProperty,
org.eclipse.rdf4j.model.Resource>
public class SKOSXLLabelPropertyValidator
extends Object
implements jakarta.validation.ConstraintValidator<SKOSXLLabelProperty,org.eclipse.rdf4j.model.Resource>
Validators associated with the constraint
SKOSXLLabelProperty
- Author:
- Tiziano Lorenzetti
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
initialize
(SKOSXLLabelProperty value) boolean
isValid
(org.eclipse.rdf4j.model.Resource value, jakarta.validation.ConstraintValidatorContext context)
-
Constructor Details
-
SKOSXLLabelPropertyValidator
public SKOSXLLabelPropertyValidator()
-
-
Method Details
-
initialize
- Specified by:
initialize
in interfacejakarta.validation.ConstraintValidator<SKOSXLLabelProperty,
org.eclipse.rdf4j.model.Resource>
-
isValid
public boolean isValid(org.eclipse.rdf4j.model.Resource value, jakarta.validation.ConstraintValidatorContext context) - Specified by:
isValid
in interfacejakarta.validation.ConstraintValidator<SKOSXLLabelProperty,
org.eclipse.rdf4j.model.Resource>
-