Class AbstractInputValidator<T,H>
java.lang.Object
se.idsec.signservice.integration.core.validation.AbstractInputValidator<T,H>
- Type Parameters:
T
- type of object being validatedH
- hint type
- All Implemented Interfaces:
InputValidator<T,
H>
- Direct Known Subclasses:
AuthnRequirementsValidator
,EtsiAdesRequirementValidator
,FileResourceValidator
,PdfSignaturePageValidator
,SigningCertificateRequirementsValidator
,SignMessageParametersValidator
,SignRequestInputValidator
,TbsDocumentValidator
,VisiblePdfSignatureRequirementValidator
,VisiblePdfSignatureUserInformationValidator
Abstract implementation of an input validator.
- Author:
- Martin Lindström (martin@idsec.se), Stefan Santesson (stefan@idsec.se)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
validateObject
(T object, String objectName, H hint) Validates the supplied object using the supplied hint and throws anInputValidationException
for validation errors.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface se.idsec.signservice.integration.core.validation.InputValidator
validate
-
Constructor Details
-
AbstractInputValidator
public AbstractInputValidator()
-
-
Method Details
-
validateObject
public void validateObject(T object, @Nonnull String objectName, H hint) throws se.idsec.signservice.integration.core.error.InputValidationException Validates the supplied object using the supplied hint and throws anInputValidationException
for validation errors.- Specified by:
validateObject
in interfaceInputValidator<T,
H> - Parameters:
object
- the object to validateobjectName
- the object namehint
- an optional validation hint- Throws:
se.idsec.signservice.integration.core.error.InputValidationException
- for validation errors
-