Package org.kuali.rice.kew.xml
Class UserXmlParser
java.lang.Object
org.kuali.rice.kew.xml.UserXmlParser
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.kuali.rice.kim.impl.identity.entity.EntityBoconstructEntity(org.jdom2.Element userElement) protected org.kuali.rice.kim.impl.identity.principal.PrincipalBoconstructPrincipal(org.jdom2.Element userElement, String entityId) voidparseUsers(InputStream input) voidparseUsers(org.jdom2.Element root) voidsetKimDataSource(DataSource kimDataSource)
-
Constructor Details
-
UserXmlParser
public UserXmlParser()
-
-
Method Details
-
parseUsers
public void parseUsers(InputStream input) throws IOException, org.kuali.rice.core.api.util.xml.XmlException - Throws:
IOExceptionorg.kuali.rice.core.api.util.xml.XmlException
-
parseUsers
public void parseUsers(org.jdom2.Element root) throws org.kuali.rice.core.api.util.xml.XmlException - Throws:
org.kuali.rice.core.api.util.xml.XmlException
-
constructEntity
protected org.kuali.rice.kim.impl.identity.entity.EntityBo constructEntity(org.jdom2.Element userElement) -
constructPrincipal
protected org.kuali.rice.kim.impl.identity.principal.PrincipalBo constructPrincipal(org.jdom2.Element userElement, String entityId) -
getKimDataSource
-
setKimDataSource
-