edu.iu.uis.eden.routetemplate.xmlrouting |
|
Java Source File Name | Type | Comment |
GenericXMLRuleAttribute.java | Interface | A
WorkflowAttribute which is configured via an XML definition. |
StandardGenericXMLRuleAttribute.java | Class | A generic WorkflowAttribute implementation that can be defined completely by XML.
- This attribute implementation takes "properties" defined on the the
edu.iu.uis.eden.clientapp.vo.WorkflowAttributeDefinitionVO and maps them to the param map of
GenericXMLRuleAttribute , which relate directly to a set of fields defined by the
XML
<routingConfig> configuration.
- Application of the properties defined on the WorkflowAttributeDefinition
to the actual attribute is performed in
org.kuali.rice.resourceloader.ObjectDefinitionResolver.invokeProperties(Objectjava.util.Collection)
- These params are then used to perform one of either EITHER:
- Replace parameters of the syntax
%field name% in the doc content if doc content is
defined in the <xmlDocumentContent>
- Generate a generic doc content, containing the parameter key/value pairs, e.g.:
<xmlrouting>
<field name="color"><value>red</value></field>
<field name="shape"><value>circle</value></field>
</xmlrouting>
Currently, only parameters that match fields configured in the routingConfig are honored (the others are ignored)
(NOTE: to make this even more reusable we might want to consider generating content for all parameters, even those that
do not have corresponding fields)
- The routingConfig element defines a set of
fieldDef s, each of which may have an xpathexpression for field evaluation.
This xpathexpression is used to determine whether the attribute's
StandardGenericXMLRuleAttribute.isMatch(DocumentContent,List) will
succeed. |
StandardGenericXMLRuleAttributeTest.java | Class | |
WorkflowFunctionResolver.java | Class | A function resolver for XPath functions provided by KEW. |
WorkflowNamespaceContext.java | Class | An XML NamespaceContext for KEW. |
XPathHelper.java | Class | Provides utilities for obtaining XPath instances which are "good-to-go" with access to the Workflow
namespace and custom XPath functions. |