Package org.duracloud.chunk.manifest.xml
Class ManifestDocumentBinding
java.lang.Object
org.duracloud.chunk.manifest.xml.ManifestDocumentBinding
This class is a helper utility for binding ChunksManifest objects to a
ChunksManifest xml document.
- Author:
- Andrew Woods Date: Feb 9, 2010
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringcreateDocumentFrom(ChunksManifestBean manifest) This method serializes the arg ChunksManifest object into an xml document.static ChunksManifestThis method binds a ChunksManifest object to the content of the arg xml.
-
Method Details
-
createManifestFrom
This method binds a ChunksManifest object to the content of the arg xml.- Parameters:
xml- manifest document to be bound to ChunksManifest object- Returns:
- ChunksManifest object
-
createDocumentFrom
This method serializes the arg ChunksManifest object into an xml document.- Parameters:
manifest- ChunksManifest object to be serialized- Returns:
- ChunksManifest xml document
-