Interface SignedDocumentExtenderFactory
- All Known Implementing Classes:
ASiCWithCAdESDocumentExtenderFactory, ASiCWithXAdESDocumentExtenderFactory, CAdESDocumentExtenderFactory, JAdESDocumentExtenderFactory, PAdESDocumentExtenderFactory, XAdESDocumentExtenderFactory
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(DSSDocument document) This method instantiates aSignedDocumentExtenderwith the given documentbooleanisSupported(DSSDocument document) This method tests if the current implementation ofSignedDocumentExtendersupports the given document
-
Method Details
-
isSupported
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
-