public class ServiceSummariesDocument extends Object
Constructor and Description |
---|
ServiceSummariesDocument() |
Modifier and Type | Method and Description |
---|---|
static ServiceSummary |
getServiceSummary(InputStream xml)
This method binds the arg xml to a single ServiceSummary object.
|
static String |
getServiceSummaryAsXML(ServiceSummary summary)
This method serializes the arg ServiceSummary object into a
single-service xml config document.
|
static List<ServiceSummary> |
getServiceSummaryList(InputStream xml)
This method binds the arg xml to a list of ServiceSummary objects.
|
static String |
getServiceSummaryListAsXML(List<ServiceSummary> summaryList)
This method serializes the arg list of ServiceSummary objects into a
multi-service xml config document.
|
public static List<ServiceSummary> getServiceSummaryList(InputStream xml)
xml
- multi-service xml document to bind to ServiceSummary objectspublic static ServiceSummary getServiceSummary(InputStream xml)
xml
- single-service xml document to bind to ServiceSummary objectpublic static String getServiceSummaryListAsXML(List<ServiceSummary> summaryList)
summaryList
- ServiceSummary objects to be serializedpublic static String getServiceSummaryAsXML(ServiceSummary summary)
summary
- ServiceSummary object to be serializedCopyright © 2009-2013 DuraSpace. All Rights Reserved.