|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.rice.kim.impl.jaxb.KimXmlUtil
public final class KimXmlUtil
Helper class for importing and exporting KIM XML.
TODO: Should this be converted into a service instead?
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||