Class ASiCWithXAdESContainerMergerFactory
java.lang.Object
eu.europa.esig.dss.asic.xades.merge.ASiCWithXAdESContainerMergerFactory
- All Implemented Interfaces:
ASiCContainerMergerFactory
public class ASiCWithXAdESContainerMergerFactory
extends Object
implements ASiCContainerMergerFactory
This class is used to load a relevant merger for an ASiC with XAdES containers
-
Constructor Summary
-
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
-
Constructor Details
-
ASiCWithXAdESContainerMergerFactory
public ASiCWithXAdESContainerMergerFactory()Default constructor
-
-
Method Details
-
isSupported
Description copied from interface:ASiCContainerMergerFactory
Returns whether the format of given containers is supported by the currentASiCContainerMerger
- Specified by:
isSupported
in interfaceASiCContainerMergerFactory
- Parameters:
containers
-DSSDocument
s to be merged- Returns:
- TRUE if both documents are supported by the current container, FALSE otherwise
-
create
Description copied from interface:ASiCContainerMergerFactory
Creates a newASiCContainerMerger
for the given ZIP-archive containers- Specified by:
create
in interfaceASiCContainerMergerFactory
- Parameters:
containers
-DSSDocument
s representing ZIP-containers to be merged- Returns:
DSSDocument
representing a merge result of given ZIP-containers
-
isSupported
Description copied from interface:ASiCContainerMergerFactory
Returns whether the format of given containers is supported by the currentASiCContainerMerger
- Specified by:
isSupported
in interfaceASiCContainerMergerFactory
- Parameters:
asicContents
-ASiCContent
s to be merged- Returns:
- TRUE if both containers are supported by the current container, FALSE otherwise
-
create
Description copied from interface:ASiCContainerMergerFactory
Creates a newASiCContainerMerger
for the givenASiCContent
s- Specified by:
create
in interfaceASiCContainerMergerFactory
- Parameters:
asicContents
-ASiCContent
s representing content of ZIP-containers to be merged- Returns:
ASiCContent
representing a merge result
-