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