org.kuali.rice.kew.xml
Class UserXmlParser
java.lang.Object
org.kuali.rice.kew.xml.UserXmlParser
- All Implemented Interfaces:
- XmlConstants
public class UserXmlParser
- extends Object
- implements XmlConstants
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)
Fields inherited from interface org.kuali.rice.kew.xml.XmlConstants |
ACTION_REQUESTED, ACTIVATION_TYPE, ACTIVE, APP_DOC_STATUSES, APPROVE_POLICY, ATTRIBUTE, ATTRIBUTE_CLASS_NAME, ATTRIBUTES, BLANKET_APPROVE_GROUP_NAME, BLANKET_APPROVE_POLICY, BLANKET_APPROVE_WORKGROUP_NAME, BRANCH, CLASS_NAME, CUSTOM_EMAIL_STYLESHEET, DATA, DATA_ELEMENT, DEFAULT_ACTION_REQUESTED, DEFAULT_EXCEPTION_GROUP_NAME, DEFAULT_EXCEPTION_WORKGROUP_NAME, DELEGATION_TEMPLATE, DELEGATION_TYPE, DELEGATIONS, DESCRIPTION, DOC_HANDLER, DOC_SEARCH_HELP_URL, DOCUMENT_TYPE, DOCUMENT_TYPE_NAMESPACE, DOCUMENT_TYPE_OVERWRITE_MODE, DOCUMENT_TYPE_SCHEMA_LOCATION, DOCUMENT_TYPES, EDL_ACTIVE, EDL_ASSOCIATION, EDL_DEFINITION, EDL_DOC_TYPE, EDL_EDOCLITE, EDL_NAMESPACE, EDL_SCHEMA_LOCATION, EDL_STYLE, EXCEPTION_GROUP_NAME, EXCEPTION_WORKGROUP, EXCEPTION_WORKGROUP_NAME, EXPRESSION, EXTENSION, EXTENSIONS, FINAL_APPROVAL, FORCE_ACTION, FROM_DATE, GROUP, GROUP_ID, GROUP_NAME, GROUP_NAMESPACE, GROUP_SCHEMA_LOCATION, GROUPS, HELP_DEFINITION_URL, HELP_ENTRIES, HELP_ENTRY, HELP_KEY, HELP_NAME, HELP_NAMESPACE, HELP_SCHEMA_LOCATION, HELP_TEXT, ID, INITIAL_NODE, IS_MEMBER_OF_GROUP, IS_MEMBER_OF_WORKGROUP, KEY, LABEL, MANDATORY_ROUTE, MEMBERS, NAME, NEXT_NODE, NOTIFICATION_FROM_ADDRESS, PARENT, PARENT_RESPONSIBILITY, PARENT_RULE_NAME, POLICIES, POLICY, POST_PROCESSOR_NAME, PRINCIPAL_ID, PRINCIPAL_NAME, PRIORITY, PROCESS_NAME, REPORTING_GROUP_NAME, REPORTING_WORKGROUP_NAME, REQUIRED, RESOLVER_CONFIG, RESPONSIBILITIES, RESPONSIBILITY, RESPONSIBILITY_ID, ROLE, ROLE_NAME, ROUTE_MODULE, ROUTE_NODES, ROUTE_PATH, ROUTE_PATHS, ROUTING_CONFIG, ROUTING_VERSION, RULE, RULE_ATTRIBUTE, RULE_ATTRIBUTE_NAMESPACE, RULE_ATTRIBUTE_SCHEMA_LOCATION, RULE_ATTRIBUTES, RULE_DEFAULTS, RULE_DELEGATION, RULE_DELEGATIONS, RULE_EXPRESSION, RULE_EXTENSION, RULE_EXTENSION_VALUE, RULE_EXTENSION_VALUES, RULE_EXTENSIONS, RULE_NAMESPACE, RULE_SCHEMA_LOCATION, RULE_TEMPLATE, RULE_TEMPLATE_NAMESPACE, RULE_TEMPLATE_SCHEMA_LOCATION, RULE_TEMPLATES, RULES, SCHEMA_LOCATION_ATTR, SCHEMA_NAMESPACE, SEARCH_RESULT_CONFIG, SEARCHING_CONFIG, SECURITY, SERVICE_NAMESPACE, SHORT_LABEL, STATUS, STYLE_NAMESPACE, STYLE_SCHEMA_LOCATION, STYLE_STYLE, STYLE_STYLES, SUMMARY, SUPER_USER_GROUP_NAME, SUPER_USER_WORKGROUP_NAME, SUPPORTS_ACKNOWLEDGE, SUPPORTS_APPROVE, SUPPORTS_COMPLETE, SUPPORTS_FYI, TO_DATE, TYPE, USER, VALUE, WORKFLOW_NAMESPACE, WORKFLOW_SCHEMA_LOCATION, WORKGROUP, WORKGROUPS |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NAMESPACE
private static final org.jdom.Namespace NAMESPACE
USERS_ELEMENT
private static final String USERS_ELEMENT
- See Also:
- Constant Field Values
USER_ELEMENT
private static final String USER_ELEMENT
- See Also:
- Constant Field Values
WORKFLOW_ID_ELEMENT
private static final String WORKFLOW_ID_ELEMENT
- See Also:
- Constant Field Values
AUTHENTICATION_ID_ELEMENT
private static final String AUTHENTICATION_ID_ELEMENT
- See Also:
- Constant Field Values
PRINCIPAL_ID_ELEMENT
private static final String PRINCIPAL_ID_ELEMENT
- See Also:
- Constant Field Values
PRINCIPAL_NAME_ELEMENT
private static final String PRINCIPAL_NAME_ELEMENT
- See Also:
- Constant Field Values
EMPL_ID_ELEMENT
private static final String EMPL_ID_ELEMENT
- See Also:
- Constant Field Values
EMAIL_ELEMENT
private static final String EMAIL_ELEMENT
- See Also:
- Constant Field Values
GIVEN_NAME_ELEMENT
private static final String GIVEN_NAME_ELEMENT
- See Also:
- Constant Field Values
LAST_NAME_ELEMENT
private static final String LAST_NAME_ELEMENT
- See Also:
- Constant Field Values
TYPE_ELEMENT
private static final String TYPE_ELEMENT
- See Also:
- Constant Field Values
UserXmlParser
public UserXmlParser()
parseUsers
public void parseUsers(InputStream input)
throws IOException,
InvalidXmlException
- Throws:
IOException
InvalidXmlException
parseUsers
public void parseUsers(org.jdom.Element root)
throws InvalidXmlException
- Throws:
InvalidXmlException
constructEntity
protected KimEntityImpl constructEntity(org.jdom.Element userElement)
constructPrincipal
protected KimPrincipalImpl constructPrincipal(org.jdom.Element userElement,
String entityId)
Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.