org.kuali.rice.kew.xml
Class GroupXmlJAXBParser

java.lang.Object
  extended by org.kuali.rice.kew.xml.GroupXmlJAXBParser
All Implemented Interfaces:
XmlConstants

public class GroupXmlJAXBParser
extends Object
implements XmlConstants

Parses groups from XML using JAXB.

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

Nested Class Summary
 class GroupXmlJAXBParser.DataNamespaceURIFilter
           
 
Field Summary
private static String DEFAULT_GROUP_DESCRIPTION
           
private static String DEFAULT_GROUP_SCHEMA_NAME
           
private static org.apache.log4j.Logger LOG
           
 
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, NAMESPACE, 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
 
Constructor Summary
GroupXmlJAXBParser()
           
 
Method Summary
 XMLFilter getXMLFilter(List<XMLFilter> filters)
          This method takes in a list of xml filters and appends them together via parent child relationships.
 List<XMLFilter> getXMLFilterList()
          This method returns a list of xmlfilters.
private  boolean isBlank(Object o)
           
 DataXmlDto parse(InputStream in)
           
protected  DataXmlDto unmarshal(Unmarshaller unmarshaller, InputStream in)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

private static final org.apache.log4j.Logger LOG

DEFAULT_GROUP_DESCRIPTION

private static final String DEFAULT_GROUP_DESCRIPTION
See Also:
Constant Field Values

DEFAULT_GROUP_SCHEMA_NAME

private static final String DEFAULT_GROUP_SCHEMA_NAME
See Also:
Constant Field Values
Constructor Detail

GroupXmlJAXBParser

public GroupXmlJAXBParser()
Method Detail

parse

public DataXmlDto parse(InputStream in)
                 throws IOException
Throws:
IOException

getXMLFilterList

public List<XMLFilter> getXMLFilterList()
This method returns a list of xmlfilters. The order here matters. The fist element gets processed first. FIFO.

Returns:

getXMLFilter

public XMLFilter getXMLFilter(List<XMLFilter> filters)
                       throws Exception
This method takes in a list of xml filters and appends them together via parent child relationships. The end result is one xml filter that can be applied to the parse.

Parameters:
filters -
Returns:
Throws:
Exception

unmarshal

protected DataXmlDto unmarshal(Unmarshaller unmarshaller,
                               InputStream in)
                        throws Exception
Throws:
Exception

isBlank

private boolean isBlank(Object o)


Copyright © 2007-2011 The Kuali Foundation. All Rights Reserved.