org.kuali.rice.kew.xml
Class UserXmlParser

java.lang.Object
  extended by org.kuali.rice.kew.xml.UserXmlParser

public class UserXmlParser
extends Object

Parses users from XML. This is really meant for use only in the unit tests and was written to help ease transition over to KIM. There are numerous unit tests which took advantage of the ability to import "users" from XML in KEW. KIM does not provide XML import capabilities in the initial implementation so this class provides that.

Author:
Kuali Rice Team (rice.collab@kuali.org)

Constructor Summary
UserXmlParser()
           
 
Method Summary
protected  org.kuali.rice.kim.impl.identity.entity.EntityBo constructEntity(org.jdom.Element userElement)
           
protected  org.kuali.rice.kim.impl.identity.principal.PrincipalBo constructPrincipal(org.jdom.Element userElement, String entityId)
           
 void parseUsers(org.jdom.Element root)
           
 void parseUsers(InputStream input)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserXmlParser

public UserXmlParser()
Method Detail

parseUsers

public void parseUsers(InputStream input)
                throws IOException,
                       XmlException
Throws:
IOException
XmlException

parseUsers

public void parseUsers(org.jdom.Element root)
                throws XmlException
Throws:
XmlException

constructEntity

protected org.kuali.rice.kim.impl.identity.entity.EntityBo constructEntity(org.jdom.Element userElement)

constructPrincipal

protected org.kuali.rice.kim.impl.identity.principal.PrincipalBo constructPrincipal(org.jdom.Element userElement,
                                                                                    String entityId)


Copyright © 2005-2014 The Kuali Foundation. All Rights Reserved.