Interface SignedDocumentExtenderFactory
public interface SignedDocumentExtenderFactory
This interface is used to analyze the format of the given
DSSDocument and
create a corresponding implementation of eu.europa.esig.dss.spi.augmentation.SignedDocumentExtender-
Method Summary
Modifier and TypeMethodDescriptioncreate(eu.europa.esig.dss.model.DSSDocument document) This method instantiates aSignedDocumentExtenderwith the given documentbooleanisSupported(eu.europa.esig.dss.model.DSSDocument document) This method tests if the current implementation ofSignedDocumentExtendersupports the given document
-
Method Details
-
isSupported
boolean isSupported(eu.europa.esig.dss.model.DSSDocument document) This method tests if the current implementation ofSignedDocumentExtendersupports the given document- Parameters:
document- the document to be tested- Returns:
- true, if the
SignedDocumentExtendersupports the given document
-
create
This method instantiates aSignedDocumentExtenderwith the given document- Parameters:
document- the document to be used for theSignedDocumentExtendercreation- Returns:
- an instance of
SignedDocumentExtenderwith the document
-