public class SecurityUsersDocumentBinding extends Object
Constructor and Description |
---|
SecurityUsersDocumentBinding() |
Modifier and Type | Method and Description |
---|---|
static String |
createDocumentFrom(Collection<SecurityUserBean> users)
This method serializes the arg SecurityUserBean list into an xml document.
|
static List<SecurityUserBean> |
createSecurityUsersFrom(InputStream xml)
This method binds a SecurityUserBean list to the content of the arg xml.
|
public static List<SecurityUserBean> createSecurityUsersFrom(InputStream xml)
xml
- document to be bound to SecurityUserBean listpublic static String createDocumentFrom(Collection<SecurityUserBean> users)
users
- SecurityUserBean list to be serializedCopyright © 2009–2014 DuraSpace. All rights reserved.