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.ASiCContent
s-
Method Summary
Modifier and TypeMethodDescriptioncreate
(ASiCContent... asicContents) Creates a newASiCContainerMerger
for the givenASiCContent
screate
(DSSDocument... containers) Creates a newASiCContainerMerger
for the given ZIP-archive containersboolean
isSupported
(ASiCContent... asicContents) Returns whether the format of given containers is supported by the currentASiCContainerMerger
boolean
isSupported
(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
-DSSDocument
s to be merged- Returns:
- TRUE if both documents are supported by the current container, FALSE otherwise
-
create
Creates a newASiCContainerMerger
for the given ZIP-archive containers- Parameters:
containers
-DSSDocument
s representing ZIP-containers to be merged- Returns:
ASiCContainerMerger
supporting the containers type for the merge
-
isSupported
Returns whether the format of given containers is supported by the currentASiCContainerMerger
- Parameters:
asicContents
-ASiCContent
s to be merged- Returns:
- TRUE if both containers are supported by the current container, FALSE otherwise
-
create
Creates a newASiCContainerMerger
for the givenASiCContent
s- Parameters:
asicContents
-ASiCContent
s representing content of ZIP-containers to be merged- Returns:
ASiCContainerMerger
supporting the containers type for the merge
-