Coverage Report - org.kuali.rice.core.api.impex.xml.XmlConstants
 
Classes in this File Line Coverage Branch Coverage Complexity
XmlConstants
0%
0/12
N/A
2
 
 1  
 /*
 2  
  * Copyright 2005-2007 The Kuali Foundation
 3  
  *
 4  
  *
 5  
  * Licensed under the Educational Community License, Version 2.0 (the "License");
 6  
  * you may not use this file except in compliance with the License.
 7  
  * You may obtain a copy of the License at
 8  
  *
 9  
  * http://www.opensource.org/licenses/ecl2.php
 10  
  *
 11  
  * Unless required by applicable law or agreed to in writing, software
 12  
  * distributed under the License is distributed on an "AS IS" BASIS,
 13  
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 14  
  * See the License for the specific language governing permissions and
 15  
  * limitations under the License.
 16  
  */
 17  
 package org.kuali.rice.core.api.impex.xml;
 18  
 
 19  
 import org.jdom.Namespace;
 20  
 
 21  
 /**
 22  
  * Constants for various XML namespaces, elements and attributes for the various parsers.
 23  
  *
 24  
  * @author Kuali Rice Team (rice.collab@kuali.org)
 25  
  */
 26  
 public final class XmlConstants {
 27  
 
 28  
     // namespaces
 29  0
     public static final Namespace WORKFLOW_NAMESPACE = Namespace.getNamespace("", "ns:workflow");
 30  0
     public static final Namespace SCHEMA_NAMESPACE = Namespace.getNamespace("xsi", "http://www.w3.org/2001/XMLSchema-instance");
 31  0
     public static final Namespace RULE_NAMESPACE = Namespace.getNamespace("", "ns:workflow/Rule");
 32  0
     public static final Namespace DOCUMENT_TYPE_NAMESPACE = Namespace.getNamespace("", "ns:workflow/DocumentType");
 33  0
     public static final Namespace GROUP_NAMESPACE = Namespace.getNamespace("", "ns:workflow/Group");
 34  0
     public static final Namespace RULE_TEMPLATE_NAMESPACE = Namespace.getNamespace("", "ns:workflow/RuleTemplate");
 35  0
     public static final Namespace RULE_ATTRIBUTE_NAMESPACE = Namespace.getNamespace("", "ns:workflow/RuleAttribute");
 36  0
     public static final Namespace HELP_NAMESPACE = Namespace.getNamespace("", "ns:workflow/Help");
 37  0
     public static final Namespace EDL_NAMESPACE = Namespace.getNamespace("", "ns:workflow/EDocLite");
 38  0
     public static final Namespace STYLE_NAMESPACE = Namespace.getNamespace("", "ns:workflow/Style");
 39  
 
 40  
     // schemas
 41  
     public static final String SCHEMA_LOCATION_ATTR = "schemaLocation";
 42  
     public static final String WORKFLOW_SCHEMA_LOCATION = "ns:workflow resource:WorkflowData";
 43  
     public static final String RULE_SCHEMA_LOCATION = "ns:workflow/Rule resource:Rule";
 44  
     public static final String GROUP_SCHEMA_LOCATION = "ns:workflow/Group resource:Group";
 45  
     public static final String DOCUMENT_TYPE_SCHEMA_LOCATION = "ns:workflow/DocumentType resource:DocumentType";
 46  
     public static final String RULE_TEMPLATE_SCHEMA_LOCATION = "ns:workflow/RuleTemplate resource:RuleTemplate";
 47  
     public static final String RULE_ATTRIBUTE_SCHEMA_LOCATION = "ns:workflow/RuleAttribute resource:RuleAttribute";
 48  
     public static final String HELP_SCHEMA_LOCATION = "ns:workflow/Help resource:Help";
 49  
     public static final String EDL_SCHEMA_LOCATION = "ns:workflow/EDocLite resource:EDocLite";
 50  
     public static final String STYLE_SCHEMA_LOCATION = "ns:workflow/Style resource:Style";
 51  
 
 52  
     // data
 53  
     public static final String DATA_ELEMENT = "data";
 54  
 
 55  
     // general
 56  
     public static final String NAME = "name";
 57  
     public static final String DESCRIPTION = "description";
 58  
     public static final String SUMMARY = "summary";
 59  
     public static final String LABEL = "label";
 60  
     public static final String SHORT_LABEL = "shortLabel";
 61  
     public static final String KEY = "key";
 62  
     public static final String VALUE = "value";
 63  
     public static final String ACTIVE= "active";
 64  
     public static final String TYPE = "type";
 65  
 
 66  
     // document types
 67  
     public static final String DOCUMENT_TYPES = "documentTypes";
 68  
     public static final String DOCUMENT_TYPE = "documentType";
 69  
     public static final String DOCUMENT_TYPE_OVERWRITE_MODE = "overwriteMode";
 70  
     public static final String PARENT = "parent";
 71  
     /**
 72  
      * @deprecated use {@link #APPLICATION_ID} instead
 73  
      */
 74  
     @Deprecated
 75  
     public static final String SERVICE_NAMESPACE = "serviceNamespace";
 76  
     public static final String APPLICATION_ID = "applicationId";
 77  
     public static final String POST_PROCESSOR_NAME = "postProcessorName";
 78  
     public static final String SUPER_USER_WORKGROUP_NAME = "superUserWorkgroupName";
 79  
     public static final String SUPER_USER_GROUP_NAME = "superUserGroupName";
 80  
     public static final String BLANKET_APPROVE_WORKGROUP_NAME = "blanketApproveWorkgroupName";
 81  
     public static final String BLANKET_APPROVE_GROUP_NAME = "blanketApproveGroupName";
 82  
     public static final String BLANKET_APPROVE_POLICY = "blanketApprovePolicy";
 83  
     public static final String REPORTING_WORKGROUP_NAME = "reportingWorkgroupName";
 84  
     public static final String REPORTING_GROUP_NAME = "reportingGroupName";
 85  
     public static final String DEFAULT_EXCEPTION_WORKGROUP_NAME = "defaultExceptionWorkgroupName";
 86  
     public static final String DEFAULT_EXCEPTION_GROUP_NAME = "defaultExceptionGroupName";
 87  
     public static final String DOC_HANDLER = "docHandler";
 88  
     public static final String HELP_DEFINITION_URL = "helpDefinitionURL";
 89  
     public static final String DOC_SEARCH_HELP_URL = "docSearchHelpURL";
 90  
     public static final String NOTIFICATION_FROM_ADDRESS = "notificationFromAddress";
 91  
     public static final String CUSTOM_EMAIL_STYLESHEET = "emailStylesheet";
 92  
     public static final String POLICIES = "policies";
 93  
     public static final String POLICY = "policy";
 94  
     public static final String SECURITY = "security";
 95  
     public static final String ROUTING_VERSION = "routingVersion";
 96  
     public static final String ROUTE_PATHS = "routePaths";
 97  
     public static final String ROUTE_PATH = "routePath";
 98  
     public static final String INITIAL_NODE = "initialNode";
 99  
     public static final String PROCESS_NAME = "processName";
 100  
     public static final String ROUTE_NODES = "routeNodes";
 101  
     public static final String BRANCH = "branch";
 102  
     public static final String EXCEPTION_WORKGROUP_NAME = "exceptionWorkgroupName";
 103  
     public static final String EXCEPTION_WORKGROUP = "exceptionWorkgroup";
 104  
     public static final String EXCEPTION_GROUP_NAME = "exceptionGroupName";
 105  
     public static final String ACTIVATION_TYPE = "activationType";
 106  
     public static final String FINAL_APPROVAL = "finalApproval";
 107  
     public static final String MANDATORY_ROUTE = "mandatoryRoute";
 108  
     public static final String ROUTE_MODULE = "routeModule";
 109  
     public static final String NEXT_NODE = "nextNode";
 110  
     public static final String APP_DOC_STATUSES = "validApplicationStatuses";
 111  
     public static final String STATUS = "status";
 112  
 
 113  
     // rules
 114  
     public static final String RULES = "rules";
 115  
     public static final String RULE = "rule";
 116  
     public static final String EXPRESSION = "expression";
 117  
     public static final String FROM_DATE = "fromDate";
 118  
     public static final String TO_DATE = "toDate";
 119  
     public static final String FORCE_ACTION = "forceAction";
 120  
     public static final String RESPONSIBILITIES = "responsibilities";
 121  
     public static final String RESPONSIBILITY = "responsibility";
 122  
     public static final String RESPONSIBILITY_ID = "responsibilityId";
 123  
     public static final String ACTION_REQUESTED = "actionRequested";
 124  
     public static final String USER = "user";
 125  
     public static final String ROLE = "role";
 126  
     public static final String ROLE_NAME = "roleName";
 127  
     public static final String ATTRIBUTE_CLASS_NAME = "attributeClassName";
 128  
     public static final String APPROVE_POLICY = "approvePolicy";
 129  
     public static final String PRIORITY = "priority";
 130  
     public static final String DELEGATIONS = "delegations";
 131  
     public static final String DELEGATION_TYPE = "delegationType";
 132  
     public static final String RULE_EXTENSIONS = "ruleExtensions";
 133  
     public static final String RULE_EXTENSION = "ruleExtension";
 134  
     public static final String RULE_EXTENSION_VALUES = "ruleExtensionValues";
 135  
     public static final String RULE_EXTENSION_VALUE = "ruleExtensionValue";
 136  
     public static final String RULE_DELEGATIONS = "ruleDelegations";
 137  
     public static final String RULE_DELEGATION = "ruleDelegation";
 138  
     public static final String PARENT_RESPONSIBILITY = "parentResponsibility";
 139  
     public static final String PARENT_RULE_NAME = "parentRuleName";
 140  
 
 141  
     public static final String GROUPS = "groups";
 142  
     public static final String GROUP = "group";
 143  
     public static final String ID = "id";
 144  
     public static final String NAMESPACE = "namespace";
 145  
     public static final String EXTENSIONS = "extensions";
 146  
     public static final String EXTENSION = "extension";
 147  
     public static final String DATA = "data";
 148  
     public static final String WORKGROUPS = "workgroups";
 149  
     public static final String WORKGROUP = "workgroup";
 150  
     public static final String MEMBERS = "members";
 151  
     public static final String PRINCIPAL_NAME = "principalName";
 152  
     public static final String PRINCIPAL_ID = "principalId";
 153  
     public static final String GROUP_ID = "groupId";
 154  
     public static final String GROUP_NAME = "groupName";
 155  
 
 156  
     // rule templates
 157  
     public static final String RULE_TEMPLATES = "ruleTemplates";
 158  
     public static final String RULE_TEMPLATE = "ruleTemplate";
 159  
     public static final String RULE_EXPRESSION = "expression";
 160  
     public static final String DELEGATION_TEMPLATE = "delegationTemplate";
 161  
     public static final String REQUIRED = "required";
 162  
     public static final String ATTRIBUTES = "attributes";
 163  
     public static final String ATTRIBUTE = "attribute";
 164  
     public static final String RULE_DEFAULTS = "ruleDefaults";
 165  
     public static final String DEFAULT_ACTION_REQUESTED = "defaultActionRequested";
 166  
     public static final String SUPPORTS_COMPLETE = "supportsComplete";
 167  
     public static final String SUPPORTS_APPROVE = "supportsApprove";
 168  
     public static final String SUPPORTS_ACKNOWLEDGE = "supportsAcknowledge";
 169  
     public static final String SUPPORTS_FYI = "supportsFYI";
 170  
 
 171  
     // rule attributes
 172  
     public static final String RULE_ATTRIBUTES = "ruleAttributes";
 173  
     public static final String RULE_ATTRIBUTE = "ruleAttribute";
 174  
     public static final String CLASS_NAME = "className";
 175  
     public static final String ROUTING_CONFIG = "routingConfig";
 176  
     public static final String SEARCHING_CONFIG = "searchingConfig";
 177  
         public static final String SEARCH_RESULT_CONFIG = "searchResultConfig";
 178  
     public static final String RESOLVER_CONFIG = "resolverConfig";
 179  
     public static final String IS_MEMBER_OF_WORKGROUP = "isMemberOfWorkgroup";
 180  
     public static final String IS_MEMBER_OF_GROUP = "isMemberOfGroup";
 181  
 
 182  
     // help
 183  
     public static final String HELP_ENTRIES = "helpEntries";
 184  
     public static final String HELP_ENTRY = "helpEntry";
 185  
     public static final String HELP_NAME = "helpName";
 186  
     public static final String HELP_KEY = "helpKey";
 187  
     public static final String HELP_TEXT = "helpText";
 188  
 
 189  
     //edoclite
 190  
     public static final String EDL_EDOCLITE = "edoclite";
 191  
     public static final String EDL_STYLE = "style";
 192  
     public static final String EDL_ASSOCIATION = "association";
 193  
     public static final String EDL_DOC_TYPE = "docType";
 194  
     public static final String EDL_DEFINITION = "definition";
 195  
     public static final String EDL_ACTIVE = "active";
 196  
 
 197  
     //style
 198  
     public static final String STYLE_STYLES = "styles";
 199  
     public static final String STYLE_STYLE = "style";
 200  
     
 201  0
     private XmlConstants() {
 202  0
             throw new UnsupportedOperationException("do not call");
 203  
     }
 204  
 }