Class AbstractConstraintValidationHandler
- java.lang.Object
-
- gov.nist.secauto.metaschema.core.model.constraint.AbstractConstraintValidationHandler
-
- All Implemented Interfaces:
IConstraintValidationHandler
- Direct Known Subclasses:
FindingCollectingConstraintValidationHandler
,LoggingConstraintValidationHandler
public abstract class AbstractConstraintValidationHandler extends Object implements IConstraintValidationHandler
-
-
Constructor Summary
Constructors Constructor Description AbstractConstraintValidationHandler()
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface gov.nist.secauto.metaschema.core.model.constraint.IConstraintValidationHandler
handleAllowedValuesViolation, handleCardinalityMaximumViolation, handleCardinalityMinimumViolation, handleExpectViolation, handleIndexDuplicateKeyViolation, handleIndexDuplicateViolation, handleIndexMiss, handleKeyMatchError, handleMatchDatatypeViolation, handleMatchPatternViolation, handleUniqueKeyViolation
-
-
-
-
Constructor Detail
-
AbstractConstraintValidationHandler
public AbstractConstraintValidationHandler()
-
-
Method Detail
-
getPathFormatter
@NonNull public abstract IPathFormatter getPathFormatter()
-
newCardinalityMinimumViolationMessage
@NonNull protected String newCardinalityMinimumViolationMessage(@NonNull ICardinalityConstraint constraint, @NonNull INodeItem node, @NonNull ISequence<? extends INodeItem> targets)
-
newCardinalityMaximumViolationMessage
@NonNull protected String newCardinalityMaximumViolationMessage(@NonNull ICardinalityConstraint constraint, @NonNull INodeItem node, @NonNull ISequence<? extends INodeItem> targets)
-
newIndexDuplicateKeyViolationMessage
@NonNull protected String newIndexDuplicateKeyViolationMessage(@NonNull IIndexConstraint constraint, @NonNull INodeItem node, @NonNull INodeItem oldItem, @NonNull INodeItem target)
-
newUniqueKeyViolationMessage
@NonNull protected String newUniqueKeyViolationMessage(@NonNull IUniqueConstraint constraint, @NonNull INodeItem node, @NonNull INodeItem oldItem, @NonNull INodeItem target)
-
newMatchPatternViolationMessage
@NonNull protected String newMatchPatternViolationMessage(@NonNull IMatchesConstraint constraint, @NonNull INodeItem node, @NonNull INodeItem target, @NonNull String value)
-
newMatchDatatypeViolationMessage
@NonNull protected String newMatchDatatypeViolationMessage(@NonNull IMatchesConstraint constraint, @NonNull INodeItem node, @NonNull INodeItem target, @NonNull String value)
-
newExpectViolationMessage
@NonNull protected CharSequence newExpectViolationMessage(@NonNull IExpectConstraint constraint, @NonNull INodeItem node, @NonNull INodeItem target, @NonNull DynamicContext dynamicContext)
-
newAllowedValuesViolationMessage
@NonNull protected CharSequence newAllowedValuesViolationMessage(@NonNull List<IAllowedValuesConstraint> constraints, @NonNull INodeItem target)
-
newIndexDuplicateViolationMessage
@NonNull protected CharSequence newIndexDuplicateViolationMessage(@NonNull IIndexConstraint constraint, @NonNull INodeItem node)
-
newIndexMissMessage
@NonNull protected CharSequence newIndexMissMessage(@NonNull IIndexHasKeyConstraint constraint, @NonNull INodeItem node, @NonNull INodeItem target, @NonNull List<String> key)
-
-