Interface ASiCContainerMergerFactory
- All Known Implementing Classes:
ASiCWithCAdESContainerMergerFactory,ASiCWithXAdESContainerMergerFactory
public interface ASiCContainerMergerFactory
This class is used to load relevant
eu.europa.esig.dss.asic.common.merge.ASiCContainerMerger
for given eu.europa.esig.dss.model.DSSDocument containers or
eu.europa.esig.dss.asic.common.ASiCContents-
Method Summary
Modifier and TypeMethodDescriptioncreate(ASiCContent... asicContents) Creates a newASiCContainerMergerfor the givenASiCContentscreate(DSSDocument... containers) Creates a newASiCContainerMergerfor the given ZIP-archive containersbooleanisSupported(ASiCContent... asicContents) Returns whether the format of given containers is supported by the currentASiCContainerMergerbooleanisSupported(DSSDocument... containers) Returns whether the format of given containers is supported by the currentASiCContainerMerger
-
Method Details
-
isSupported
Returns whether the format of given containers is supported by the currentASiCContainerMerger- Parameters:
containers-DSSDocuments to be merged- Returns:
- TRUE if both documents are supported by the current container, FALSE otherwise
-
create
Creates a newASiCContainerMergerfor the given ZIP-archive containers- Parameters:
containers-DSSDocuments representing ZIP-containers to be merged- Returns:
ASiCContainerMergersupporting the containers type for the merge
-
isSupported
Returns whether the format of given containers is supported by the currentASiCContainerMerger- Parameters:
asicContents-ASiCContents to be merged- Returns:
- TRUE if both containers are supported by the current container, FALSE otherwise
-
create
Creates a newASiCContainerMergerfor the givenASiCContents- Parameters:
asicContents-ASiCContents representing content of ZIP-containers to be merged- Returns:
ASiCContainerMergersupporting the containers type for the merge
-