Package org.mycore.user2.utils
Class MCRRoleTransformer
java.lang.Object
org.mycore.user2.utils.MCRRoleTransformer
- Author:
- Thomas Scheffler (yagee)
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Document
buildExportableXML
(MCRRole role) Builds an xml element containing all information on the given role.static MCRRole
buildMCRRole
(Element element) Builds an MCRRole instance from the given element.
-
Constructor Details
-
MCRRoleTransformer
public MCRRoleTransformer()
-
-
Method Details
-
buildExportableXML
Builds an xml element containing all information on the given role. -
buildMCRRole
Builds an MCRRole instance from the given element.- Parameters:
element
- as generated bybuildExportableXML(MCRRole)
.
-