1 package org.jahia.clipbuilder.html.util; 2 3 public class Constants { 4 public static final String CLIPPER_BEAN = "clipperBean"; 5 public static final String URL_MAP = "urlMap"; 6 public static final String FIRST_URL_HASH = "userHash"; 7 public static final String FIRST_URL_FROM = "userFrom"; 8 9 public static String ENCODING_ISO = "ISO-8859-1"; 11 public static String ENCODING_UTF = "UTF-8"; 12 13 public static String TARGET_URL = "targetUrl"; 15 public static String RECORDING = "recording"; 16 public static String HTTPSTATE = "webClipping_httpState"; 17 public static String SIMPLE_WEBCLIENT = "webClipping_webClient"; 18 public static String ADVANCED_WEBCLIENT = "webClipping_webClient"; 19 public static String LAST_URL = "webClipping_lastUrl"; 20 public static String USER = "user"; 21 public static Boolean TRUE = Boolean.TRUE; 22 public static Boolean FALSE = Boolean.FALSE; 23 24 public static String JAVASCRIPT_LOCATION = "location"; 25 public static String [] JAVASCRIPT_EVENT_NAMES_ARRAY = { 26 "onAbort", 27 "onBlur", 29 "onChange", 31 "onClick", 33 "onDblClick", 35 "onDragDrop", 37 "onError", 39 "onFocus", 41 "onKeyDown", 43 "onKeyPress", 45 "onKeyUp", 47 "onLoad", 49 "onMouseDown", 51 "onMouseMove", 53 "onMouseOut", 55 "onMouseOver", 57 "onMouseUp", 59 "onMove", 61 "onReset", 63 "onResize", 65 "onSelect", 67 "onSubmit", 69 "onUnload", 71 }; 73 74 public static String NOT_URL[] = {"javascript:", "mailto:", "about:"}; 75 76 public static int URLENCODER_TYPE_LINK = 0; 77 public static int URLENCODER_TYPE_FORM = 1; 78 public static int URLENCODER_TYPE_JAVASCRIPT = 2; 79 public static int URLENCODER_TYPE_METALINK = 3; 80 81 public static String FROM_LINK = "link"; 83 public static String FROM_FORM = "submittedForm"; 84 public static String FROM_META = "metaLink"; 85 86 public static String NO_VALUE_FOUNDED = "no_value_Found"; 88 public static String TYPE_TEXT = "text"; 89 public static String TYPE_BUTTON = "text"; 90 public static String TYPE_PASSWORD = "password"; 91 public static String TYPE_CHECKBOX = "checkbox"; 92 public static String TYPE_RADIO = "radio"; 93 public static String TYPE_SUBMIT = "submit"; 94 public static String TYPE_RESET = "reset"; 95 public static String TYPE_FILE = "file"; 96 public static String TYPE_HIDDEN = "hidden"; 97 public static String TYPE_IMAGE = "image"; 98 public static String TYPE_SELECT = "select"; 99 100 public final static int PORTLET_CONTINUAL_FALSE = 0; 102 public final static int PORTLET_CONTINUAL_ACTIF_IFRAME = 1; 103 public final static int PORTLET_CONTINUAL_PASSIF_IFRAME = 2; 104 public final static int PORTLET_CONTINUAL_ACTIF_POPUP = 3; 105 public final static int PORTLET_CONTINUAL_PASSIF_POPUP = 4; 106 public final static int PORTLET_CACHE_PORTAL = 0; 107 public final static int PORTLET_CACHE_USER = 1; 108 109 110 } 111 | Popular Tags |