1 package org.ejen; 22 23 28 public interface EjenConstants { 29 30 31 public static final String CTX_STYLESHEET_HANDLER = "STYLESHEET_HANDLER"; 32 33 34 public static final String CTX_DOM_SOURCE = "DOM_SOURCE"; 35 36 37 public static final String CTX_DOM_SOURCE_FILE = "DOM_SOURCE_FILE"; 38 39 40 public static final String CTX_TRANSFORMER_IMPL = "TRANSFORMER_IMPL"; 41 42 43 public static final String CTX_STYLESHEET_ROOT = "STYLESHEET_ROOT"; 44 45 46 public static final String CTX_TRANSFORMER_FACTORY_IMPL = "TRANSFORMER_FACTORY_IMPL"; 47 48 49 public static final String [] STATES = { 50 "idle", "before process", "processing", "after process", "checking" 51 }; 52 53 54 public static final int STATE_IDLE = 0; 55 56 57 public static final int STATE_BEFORE_PROCESS = 1; 58 59 60 public static final int STATE_PROCESS = 2; 61 62 63 public static final int STATE_AFTER_PROCESS = 3; 64 65 66 public static final int STATE_CHECK = 4; 67 68 69 public static final int MSG_ERR = 0; 70 71 72 public static final int MSG_WARN = 1; 73 74 75 public static final int MSG_INFO = 2; 76 77 78 public static final int MSG_VERBOSE = 3; 79 80 81 public static final int MSG_DEBUG = 4; 82 83 84 public static final String LOG_INDENT_STR1 = " "; 85 86 87 public static final String LOG_INDENT_STR2 = " "; 88 89 95 public static final String DEFAULT_XML_DATA 96 = "<?xml version=\"1.0\" encoding=\"iso-8859-1\"?>" + "<ejen/>"; 97 98 99 public static final String DEFAULT_XML_DATA_ENCODING = "ISO-8859-1"; 100 101 107 public static final String DEFAULT_XSL_DATA 108 = "<?xml version=\"1.0\" encoding=\"iso-8859-1\"?>" 109 + "<xsl:stylesheet xmlns:xsl=\"http://www.w3.org/1999/XSL/Transform\"" 110 + " xmlns:fiu=\"org.ejen.ext.FileUtil\"" 111 + " xmlns:stu=\"org.ejen.ext.StringUtil\"" 112 + " xmlns:ver=\"org.ejen.ext.Version\"" 113 + " exclude-result-prefixes=\"fiu stu ver\"" + " version=\"1.0\"/>"; 114 } 115 | Popular Tags |