Class GroupXmlParser

java.lang.Object
org.kuali.rice.kew.xml.GroupXmlParser

public class GroupXmlParser extends Object
Parses groups from XML.
Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
  • Group
  • Constructor Details

    • GroupXmlParser

      public GroupXmlParser()
  • Method Details

    • parseGroups

      public List<org.kuali.rice.kim.api.group.Group> parseGroups(InputStream input) throws IOException, org.kuali.rice.core.api.util.xml.XmlException
      Throws:
      IOException
      org.kuali.rice.core.api.util.xml.XmlException
    • parseGroups

      public List<org.kuali.rice.kim.api.group.Group> parseGroups(org.jdom2.Element element) throws org.kuali.rice.core.api.util.xml.XmlException
      Parses and saves groups
      Parameters:
      element - top-level 'data' element which should contain a <groups> child element
      Returns:
      a list of parsed and saved, current, groups;
      Throws:
      org.kuali.rice.core.api.util.xml.XmlException