Interface NodeValidatorPlugin
-
- All Known Implementing Classes:
BlobLengthPlugin
,CollectionLengthPlugin
,IdRefPlugin
,MapLengthPlugin
,PatternTraitPlugin
,RangeTraitPlugin
,StringEnumPlugin
,StringLengthPlugin
,TimestampFormatPlugin
,TimestampValidationStrategy
public interface NodeValidatorPlugin
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description default java.util.List<java.lang.String>
apply(Shape shape, Node value, Model model)
Applies the plugin to the given shape, node value, and shape index.java.util.List<java.lang.String>
apply(Shape shape, Node value, ShapeIndex index)
Deprecated.
-
-
-
Method Detail
-
apply
@Deprecated java.util.List<java.lang.String> apply(Shape shape, Node value, ShapeIndex index)
Deprecated.
-
apply
default java.util.List<java.lang.String> apply(Shape shape, Node value, Model model)
Applies the plugin to the given shape, node value, and shape index.- Parameters:
shape
- Shape being checked.value
- Value being evaluated.model
- Model to traverse.- Returns:
- Returns any validation messages that were encountered.
-
-