/**
* Copyright (C) 2009 BonitaSoft S.A.
* BonitaSoft, 31 rue Gustave Eiffel - 38000 Grenoble
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2.0 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.bonitasoft.forms.server.constants;
/**
* XML forms definition file constants for elements and attributes names
*
* @author Anthony Birembaut
*
*/
public final class XMLForms {
/**
* Single quote escape character form XML attribute values
*/
public static final String SINGLE_QUOTE_ESCAPE = "'";
/**
* the forms definition element name
*/
public static final String FORMS_DEFINITION = "forms-definition";
/**
* the application element name
*/
public static final String APPLICATION = "application";
/**
* the application label element name
*/
public static final String APPLICATION_LABEL = "application-label";
/**
* the application template element name
*/
public static final String APPLICATION_LAYOUT = "application-layout";
/**
* the mandatory symbol element name
*/
public static final String MANDATORY_SYMBOL = "mandatory-symbol";
/**
* the mandatory label element name
*/
public static final String MANDATORY_LABEL = "mandatory-label";
/**
* the mandatory style element name
*/
public static final String MANDATORY_STYLE = "mandatory-style";
/**
* the error template element name
*/
public static final String ERROR_TEMPLATE = "error-template";
/**
* the application migration product version element name
*/
public static final String MIGRATION_PRODUCT_VERSION = "migration-product-version";
/**
* the forms element name
*/
public static final String FORMS = "forms";
/**
* the form element name
*/
public static final String FORM = "form";
/**
* the pages element name
*/
public static final String PAGES = "pages";
/**
* the page element name
*/
public static final String PAGE = "page";
/**
* the form-type element
*/
public static final String FORM_TYPE = "form-type";
/**
* the page label element name
*/
public static final String PAGE_LABEL = "page-label";
/**
* the page template element name
*/
public static final String PAGE_LAYOUT = "page-layout";
/**
* the page validators element name
*/
public static final String PAGE_VALIDATORS = "page-validators";
/**
* the widgets element name
*/
public static final String WIDGETS = "widgets";
/**
* the display attachment image element name
*/
public static final String DISPLAY_ATTACHMENT_IMAGE = "display-attachment-image";
/**
* the display condition element name
*/
public static final String DISPLAY_CONDITION = "display-condition";
/**
* the title element name
*/
public static final String TITLE = "title";
/**
* the max length element name
*/
public static final String MAX_LENGTH = "max-length";
/**
* the max height element name
*/
public static final String MAX_HEIGHT = "max-height";
/**
* the style element name
*/
public static final String STYLE = "style";
/**
* the label element name
*/
public static final String LABEL = "label";
/**
* the label style element name
*/
public static final String LABEL_STYLE = "label-style";
/**
* the position element name
*/
public static final String POSITION = "position";
/**
* the label position element name
*/
public static final String LABEL_POSITION = "label-position";
/**
* the mandatory element name
*/
public static final String MANDATORY = "mandatory";
/**
* the initial value element name
*/
public static final String INITIAL_VALUE = "initial-value";
/**
* the initial format element name
*/
public static final String INITIAL_FORMAT = "initial-format";
/**
* the display format element name
*/
public static final String DISPLAY_FORMAT = "display-format";
/**
* the available values element name
*/
public static final String AVAILABLE_VALUES = "available-values";
/**
* the available values list element name
*/
public static final String VALUES_LIST = "values-list";
/**
* the available values array element name
*/
public static final String VALUES_ARRAY = "values-array";
/**
* the available value element name
*/
public static final String AVAILABLE_VALUE = "available-value";
/**
* the value element name
*/
public static final String VALUE = "value";
/**
* the widget element name
*/
public static final String WIDGET = "widget";
/**
* the validators element name
*/
public static final String VALIDATORS = "validators";
/**
* the validator element name
*/
public static final String VALIDATOR = "validator";
/**
* the parameter element name
*/
public static final String PARAMETER = "parameter";
/**
* the class element name
*/
public static final String CLASSNAME = "classname";
/**
* the actions element name
*/
public static final String ACTIONS = "actions";
/**
* the action element name
*/
public static final String ACTION = "action";
/**
* the variable element name
*/
public static final String VARIABLE = "variable";
/**
* the variable element name
*/
public static final String VARIABLE_TYPE = "variable-type";
/**
* the operator element name
*/
public static final String OPERATOR = "operator";
/**
* the input type element name
*/
public static final String INPUT_TYPE = "input-type";
/**
* the submit button element name
*/
public static final String SUBMIT_BUTTON = "submit-button";
/**
* the confirmation template element name
*/
public static final String CONFIRMATION_LAYOUT = "confirmation-layout";
/**
* the confirmation message element name
*/
public static final String CONFIRMATION_MESSAGE = "confirmation-message";
/**
* the HTML Attributes Element Name
*/
public static final String HTML_ATTRIBUTES = "html-attributes";
/**
* the HTML Attributes Element Name
*/
public static final String HTML_ATTRIBUTE = "html-attribute";
/**
* the allow HTML in label element name
*/
public static final String ALLOW_HTML_IN_LABEL = "allow-html-in-label";
/**
* the allow HTML in form field element name
*/
public static final String ALLOW_HTML_IN_FIELD = "allow-html-in-field";
/**
* the headings style element name
*/
public static final String HEADINGS_STYLE = "headings-style";
/**
* the headings positions element name
*/
public static final String HEADINGS_POSITIONS = "headings-positions";
/**
* the left headings position element name
*/
public static final String LEFT_HEADINGS = "left-headings";
/**
* the top headings position element name
*/
public static final String TOP_HEADINGS = "top-headings";
/**
* the right headings position element name
*/
public static final String RIGHT_HEADINGS = "right-headings";
/**
* the bottom headings position element name
*/
public static final String BOTTOM_HEADINGS = "bottom-headings";
/**
* the horizontal header element name
*/
public static final String HORIZONTAL_HEADER = "horizontal-header";
/**
* the vertical header element name
*/
public static final String VERTICAL_HEADER = "vertical-header";
/**
* the select mode element name
*/
public static final String SELECT_MODE = "select-mode";
/**
* the selected items style element name
*/
public static final String SELECTED_ITEMS_STYLE = "selected-items-style";
/**
* the value column index element name
*/
public static final String VALUE_COLUMN_INDEX = "value-column-index";
/**
* the max rows element name
*/
public static final String MAX_ROWS = "max-rows";
/**
* the min rows element name
*/
public static final String MIN_ROWS = "min-rows";
/**
* the variable column number element name
*/
public static final String VARIABLE_ROWS = "variable-rows";
/**
* the max rows element name
*/
public static final String MAX_COLUMNS = "max-columns";
/**
* the min rows element name
*/
public static final String MIN_COLUMNS = "min-columns";
/**
* the variable column number element name
*/
public static final String VARIABLE_COLUMNS = "variable-columns";
/**
* the read only element name
*/
public static final String READ_ONLY = "readonly";
/**
* the widgets group element Name
*/
public static final String WIDGETS_GROUP = "group";
/**
* the widget position inside a group element Name
*/
public static final String WIDGET_POSITION = "widget-position";
/**
* the widget row inside a group element Name
*/
public static final String ROW = "row";
/**
* the widget column inside a group element Name
*/
public static final String COLUMN = "column";
/**
* the widget cell rowspan inside a group element Name
*/
public static final String ROWSPAN = "rowspan";
/**
* the widget cell colspan inside a group element Name
*/
public static final String COLSPAN = "colspan";
/**
* the table style element
*/
public static final String TABLE_STYLE = "table-style";
/**
* the image style element
*/
public static final String IMAGE_STYLE = "image-style";
/**
* the widget cell style inside a group element Name
*/
public static final String CELL_STYLE = "cell-style";
/**
* the group rows styles element Name
*/
public static final String ROWS_STYLES = "rows-styles";
/**
* the group row style element Name
*/
public static final String ROW_STYLE = "row-style";
/**
* the group columns styles element Name
*/
public static final String COLUMNS_STYLES = "columns-styles";
/**
* the group column style element Name
*/
public static final String COLUMN_STYLE = "column-style";
/**
* the multi-instantiated element Name
*/
public static final String MULTI_INSTANTIATED = "multi-instantiated";
/**
* the the max instances element Name
*/
public static final String MAX_INSTANCES = "max-instances";
/**
* the the min instances element Name
*/
public static final String MIN_INSTANCES = "min-instances";
/**
* the iterator-name Element Name
*/
public static final String ITERATOR_NAME = "iterator-name";
/**
* the add item label element Name
*/
public static final String ADD_LABEL = "add-label";
/**
* the add item title element Name
*/
public static final String ADD_TITLE = "add-title";
/**
* the add item label style element Name
*/
public static final String ADD_LABEL_STYLE = "add-label-style";
/**
* the remove item label element Name
*/
public static final String REMOVE_LABEL = "remove-label";
/**
* the remove item title element Name
*/
public static final String REMOVE_TITLE = "remove-title";
/**
* the remove item label style element Name
*/
public static final String REMOVE_LABEL_STYLE = "remove-label-style";
/**
* the dependencies element name
*/
public static final String DEPENDENCIES = "dependencies";
/**
* the dependency element name
*/
public static final String DEPENDENCY = "dependency";
/**
* the impacted widget element name
*/
public static final String DEPENDS_ON_WIDGET = "depends-on";
/**
* the refresh on change element name
*/
public static final String REFRESH_ON_CHANGE = "refresh-on-change";
/**
* the display after event element name
*/
public static final String DISPLAY_BEFORE_EVENT = "display-before-event";
/**
* the display after event element name
*/
public static final String DISPLAY_AFTER_EVENT = "display-after-event";
/**
* the value after event element name
*/
public static final String VALUE_AFTER_EVENT = "value-after-event";
/**
* the available values expression after event element name
*/
public static final String AVAILABLE_VALUES_AFTER_EVENT = "available-values-after-event";
/**
* the input parameters element name
*/
public static final String INPUT_PARAMETERS = "input-parameters";
/**
* the input parameter element name
*/
public static final String INPUT_PARAMETER = "input-parameter";
/**
* the output operations element name
*/
public static final String OUTPUT_OPERATIONS = "output-operations";
/**
* the output operation element name
*/
public static final String OUTPUT_OPERATION = "output-operation";
/**
* the connectors element name
*/
public static final String CONNECTORS = "connectors";
/**
* the connector element name
*/
public static final String CONNECTOR = "connector";
/**
* the description element name
*/
public static final String DESCRIPTION = "description";
/**
* the throw exception element name
*/
public static final String THROW_EXCEPTION = "throw-exception";
/**
* the next page element name
*/
public static final String NEXT_PAGE = "next-page";
/**
* the next form element name
*/
public static final String NEXT_FORM = "next-form";
/**
* the transient data element name
*/
public static final String TRANSIENT_DATA = "transient-data";
/**
* the data element name
*/
public static final String DATA = "data";
/**
* the redirection url element name
*/
public static final String REDIRECTION_URL = "redirection-url";
/**
* the url element name
*/
public static final String URL = "url";
/**
* the submission URL transmission element name
*/
public static final String TRANSMIT_SUBMIT_URL = "transmit-submission-url";
/**
* the max items element name
*/
public static final String MAX_ITEMS = "max-items";
/**
* the product version attribute
*/
public static final String PRODUCT_VERSION = "product-version";
/**
* the page id attribute
*/
public static final String ID = "id";
/**
* the name attribute
*/
public static final String NAME = "name";
/**
* the version attribute
*/
public static final String VERSION = "version";
/**
* the type attribute
*/
public static final String TYPE = "type";
/**
* the items style attribute
*/
public static final String ITEMS_STYLE = "items-style";
/**
* the label button attribute
*/
public static final String LABEL_BUTTON = "label-button";
/**
* the first page attribute
*/
public static final String FIRST_PAGE = "first-page";
/**
* the delay millisecond attribute
*/
public static final String DELAY_MILLIS = "delay-millis";
/**
* the sub title attribute
*/
public static final String SUB_TITLE = "sub-title";
/**
* the popup tool tip
*/
public static final String POPUP_TOOLTIP = "popup-tooltip";
/**
* the permissions
*/
public static final String PERMISSIONS = "permissions";
/**
* the expression element name
*/
public static final String EXPRESSION = "expression";
/**
* the expression list element name
*/
public static final String EXPRESSION_LIST = "expression-list";
/**
* the expression array element name
*/
public static final String EXPRESSION_ARRAY = "expression-array";
/**
* the expression element content
*/
public static final String EXPRESSION_CONTENT = "expression-content";
/**
* the expression expression type
*/
public static final String EXPRESSION_TYPE = "expression-type";
/**
* the expression return type
*/
public static final String EXPRESSION_RETURN_TYPE = "return-type";
/**
* the expression interpreter
*/
public static final String EXPRESSION_INTERPRETER = "interpreter";
/**
* the resource initial value
*/
public static final String RESOURCE = "resource";
/**
* the path element name
*/
public static final String PATH = "path";
/**
* the file input type element name
*/
public static String FILE_INPUT_TYPE = "file-input-type";
/**
* the output type in witch value will be convert during the submit
*/
public static String FIELD_OUTPUT_TYPE = "field-output-type";
/**
* The input style element
*/
public static final String INPUT_STYLE = "input-style";
/**
* The condition element
*/
public static final String CONDITION = "condition";
}