public final class KimXmlUtil extends Object
TODO: Should this be converted into a service instead?
| Modifier and Type | Method and Description |
|---|---|
static void |
exportKimXml(OutputStream outputStream,
List<? extends Object> permissions,
List<? extends Object> roles)
Exports one or more sets of KIM objects to XML.
|
static void |
parseKimXml(InputStream inputStream)
Parses permissions and/or roles from XML.
|
public static void parseKimXml(InputStream inputStream)
inputStream - The input stream to read the XML from.public static void exportKimXml(OutputStream outputStream, List<? extends Object> permissions, List<? extends Object> roles)
outputStream - The output stream to write the XML to.permissions - The KIM permissions to export; set to a null or empty list to prevent exportation of a <permissionData> element.roles - The KIM roles to export; set to a null or empty list to prevent exportation of a <roleData> element.Copyright © 2004-2014 The Kuali Foundation. All Rights Reserved.