1 17 18 19 package org.apache.catalina.deploy; 20 21 22 import java.util.HashMap ; 23 import java.util.Map ; 24 import java.io.Serializable ; 25 26 27 34 35 public class FilterDef implements Serializable { 36 37 38 40 41 44 private String description = null; 45 46 public String getDescription() { 47 return (this.description); 48 } 49 50 public void setDescription(String description) { 51 this.description = description; 52 } 53 54 55 58 private String displayName = null; 59 60 public String getDisplayName() { 61 return (this.displayName); 62 } 63 64 public void setDisplayName(String displayName) { 65 this.displayName = displayName; 66 } 67 68 69 72 private String filterClass = null; 73 74 public String getFilterClass() { 75 return (this.filterClass); 76 } 77 78 public void setFilterClass(String filterClass) { 79 this.filterClass = filterClass; 80 } 81 82 83 87 private String filterName = null; 88 89 public String getFilterName() { 90 return (this.filterName); 91 } 92 93 public void setFilterName(String filterName) { 94 this.filterName = filterName; 95 } 96 97 98 101 private String largeIcon = null; 102 103 public String getLargeIcon() { 104 return (this.largeIcon); 105 } 106 107 public void setLargeIcon(String largeIcon) { 108 this.largeIcon = largeIcon; 109 } 110 111 112 116 private Map parameters = new HashMap (); 117 118 public Map getParameterMap() { 119 120 return (this.parameters); 121 122 } 123 124 125 128 private String smallIcon = null; 129 130 public String getSmallIcon() { 131 return (this.smallIcon); 132 } 133 134 public void setSmallIcon(String smallIcon) { 135 this.smallIcon = smallIcon; 136 } 137 138 139 141 142 149 public void addInitParameter(String name, String value) { 150 151 parameters.put(name, value); 152 153 } 154 155 156 159 public String toString() { 160 161 StringBuffer sb = new StringBuffer ("FilterDef["); 162 sb.append("filterName="); 163 sb.append(this.filterName); 164 sb.append(", filterClass="); 165 sb.append(this.filterClass); 166 sb.append("]"); 167 return (sb.toString()); 168 169 } 170 171 172 } 173 | Popular Tags |