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 EntityBoconstructEntity(org.jdom2.Element userElement) protected 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
- Throws:
IOExceptionXmlException
-
parseUsers
- Throws:
XmlException
-
constructEntity
-
constructPrincipal
-
getKimDataSource
-
setKimDataSource
-