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
Constructors -
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
-
Constructor Details
-
ASiCWithXAdESContainerMergerFactory
public ASiCWithXAdESContainerMergerFactory()Default constructor
-
-
Method Details
-
isSupported
Description copied from interface:ASiCContainerMergerFactoryReturns whether the format of given containers is supported by the currentASiCContainerMerger- Specified by:
isSupportedin interfaceASiCContainerMergerFactory- Parameters:
containers-DSSDocuments to be merged- Returns:
- TRUE if both documents are supported by the current container, FALSE otherwise
-
create
Description copied from interface:ASiCContainerMergerFactoryCreates a newASiCContainerMergerfor the given ZIP-archive containers- Specified by:
createin interfaceASiCContainerMergerFactory- Parameters:
containers-DSSDocuments representing ZIP-containers to be merged- Returns:
DSSDocumentrepresenting a merge result of given ZIP-containers
-
isSupported
Description copied from interface:ASiCContainerMergerFactoryReturns whether the format of given containers is supported by the currentASiCContainerMerger- Specified by:
isSupportedin interfaceASiCContainerMergerFactory- Parameters:
asicContents-ASiCContents to be merged- Returns:
- TRUE if both containers are supported by the current container, FALSE otherwise
-
create
Description copied from interface:ASiCContainerMergerFactoryCreates a newASiCContainerMergerfor the givenASiCContents- Specified by:
createin interfaceASiCContainerMergerFactory- Parameters:
asicContents-ASiCContents representing content of ZIP-containers to be merged- Returns:
ASiCContentrepresenting a merge result
-