Interface StatementValidator
-
@ThreadSafe public interface StatementValidator
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description QNamegetServicedStatement()Gets the element or schema type QName of the statement handled by this validator.ValidationResultvalidate(Statement statement, Assertion assertion, ValidationContext context)Validates the given statement.
-
-
-
Method Detail
-
getServicedStatement
@Nonnull QName getServicedStatement()
Gets the element or schema type QName of the statement handled by this validator.- Returns:
- element or schema type QName of the statement handled by this validator
-
validate
@Nonnull ValidationResult validate(@Nonnull Statement statement, @Nonnull Assertion assertion, @Nonnull ValidationContext context) throws AssertionValidationException
Validates the given statement.- Parameters:
statement- statement to be validatedassertion- assertion bearing the statementcontext- current Assertion validation context- Returns:
- the validation result
- Throws:
AssertionValidationException- if there is a problem processing the validation operation
-
-