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  EntityBo constructEntity(org.jdom.Element userElement)
           
protected  PrincipalBo constructPrincipal(org.jdom.Element userElement, String entityId)
           
 DataSource getKimDataSource()
           
 void parseUsers(org.jdom.Element root)
           
 void parseUsers(InputStream input)
           
 void setKimDataSource(DataSource kimDataSource)
           
 
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 EntityBo constructEntity(org.jdom.Element userElement)

constructPrincipal

protected PrincipalBo constructPrincipal(org.jdom.Element userElement,
                                         String entityId)

getKimDataSource

public DataSource getKimDataSource()

setKimDataSource

public void setKimDataSource(DataSource kimDataSource)


Copyright © 2005–2014 The Kuali Foundation. All rights reserved.