Interface IConstraintValidator
-
- All Known Implementing Classes:
DefaultConstraintValidator
public interface IConstraintValidator
This interface provides an entry point for performing validations over Metapath items associated with a Metaschema model.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
finalizeValidation()
Complete any validations that require full analysis of the content model.void
validate(INodeItem item)
Validate the provided item against any associated constraints.
-
-
-
Method Detail
-
validate
void validate(@NonNull INodeItem item)
Validate the provided item against any associated constraints.- Parameters:
item
- the item to validate- Throws:
MetapathException
- if an error occurred while evaluating a Metapath used in a constraint
-
finalizeValidation
void finalizeValidation()
Complete any validations that require full analysis of the content model.- Throws:
MetapathException
- if an error occurred while evaluating a Metapath used in a constraint
-
-