public class ManifestDocumentBinding extends Object
Constructor and Description |
---|
ManifestDocumentBinding() |
Modifier and Type | Method and Description |
---|---|
static String |
createDocumentFrom(ChunksManifestBean manifest)
This method serializes the arg ChunksManifest object into an xml document.
|
static ChunksManifest |
createManifestFrom(InputStream xml)
This method binds a ChunksManifest object to the content of the arg xml.
|
public static ChunksManifest createManifestFrom(InputStream xml)
xml
- manifest document to be bound to ChunksManifest objectpublic static String createDocumentFrom(ChunksManifestBean manifest)
manifest
- ChunksManifest object to be serializedCopyright © 2009–2014 DuraSpace. All rights reserved.