Package eu.europa.esig.dss.ws.converter
Class RemoteDocumentConverter
java.lang.Object
eu.europa.esig.dss.ws.converter.RemoteDocumentConverter
Contains utils to convert
DSSDocument
to RemoteDocument
and vice versa-
Method Summary
Modifier and TypeMethodDescriptionstatic DSSDocument
toDSSDocument
(RemoteDocument remoteDocument) Converts the givenRemoteDocument
to aDSSDocument
static List
<DSSDocument> toDSSDocuments
(List<RemoteDocument> remoteDocuments) Converts the given list ofremoteDocuments
to a list ofDSSDocument
sstatic RemoteDocument
toRemoteDocument
(DSSDocument originalDocument) Converts the givenDSSDocument
to aRemoteDocument
static List
<RemoteDocument> toRemoteDocuments
(List<DSSDocument> originalDocuments) Converts the given list oforiginalDocuments
to a list ofRemoteDocument
s
-
Method Details
-
toDSSDocuments
Converts the given list ofremoteDocuments
to a list ofDSSDocument
s- Parameters:
remoteDocuments
- list ofRemoteDocument
s- Returns:
- list of
DSSDocument
s
-
toDSSDocument
Converts the givenRemoteDocument
to aDSSDocument
- Parameters:
remoteDocument
-RemoteDocument
to convert- Returns:
DSSDocument
-
toRemoteDocuments
Converts the given list oforiginalDocuments
to a list ofRemoteDocument
s- Parameters:
originalDocuments
- list ofDSSDocument
s- Returns:
- list of
RemoteDocument
s
-
toRemoteDocument
Converts the givenDSSDocument
to aRemoteDocument
- Parameters:
originalDocument
-DSSDocument
to convert- Returns:
RemoteDocument
-