1 16 package org.apache.myfaces.taglib.html; 17 18 import org.apache.myfaces.renderkit.html.HTML; 19 20 import javax.faces.component.UIComponent; 21 22 23 41 public abstract class HtmlOutputLinkTagBase 42 extends HtmlComponentTagBase 43 { 44 46 48 50 52 private String _accesskey; 54 private String _charset; 55 private String _coords; 56 private String _hreflang; 57 private String _rel; 58 private String _rev; 59 private String _shape; 60 private String _tabindex; 61 private String _target; 62 private String _type; 63 private String _onblur; 65 private String _onfocus; 67 68 71 73 public void release() { 74 super.release(); 75 _accesskey=null; 76 _charset=null; 77 _coords=null; 78 _hreflang=null; 79 _rel=null; 80 _rev=null; 81 _shape=null; 82 _tabindex=null; 83 _target=null; 84 _type=null; 85 _onblur=null; 86 _onfocus=null; 87 } 88 89 protected void setProperties(UIComponent component) 90 { 91 super.setProperties(component); 92 93 setStringProperty(component, HTML.ACCESSKEY_ATTR, _accesskey); 94 setStringProperty(component, HTML.CHARSET_ATTR, _charset); 95 setStringProperty(component, HTML.COORDS_ATTR, _coords); 96 setStringProperty(component, HTML.HREFLANG_ATTR, _hreflang); 97 setStringProperty(component, HTML.REL_ATTR, _rel); 98 setStringProperty(component, HTML.REV_ATTR, _rev); 99 setStringProperty(component, HTML.SHAPE_ATTR, _shape); 100 setStringProperty(component, HTML.TABINDEX_ATTR, _tabindex); 101 setStringProperty(component, HTML.TARGET_ATTR, _target); 102 setStringProperty(component, HTML.TYPE_ATTR, _type); 103 setStringProperty(component, HTML.ONBLUR_ATTR, _onblur); 104 setStringProperty(component, HTML.ONFOCUS_ATTR, _onfocus); 105 } 106 107 public void setAccesskey(String accesskey) 108 { 109 _accesskey = accesskey; 110 } 111 112 public void setCharset(String charset) 113 { 114 _charset = charset; 115 } 116 117 public void setCoords(String coords) 118 { 119 _coords = coords; 120 } 121 122 public void setHreflang(String hreflang) 123 { 124 _hreflang = hreflang; 125 } 126 127 public void setOnblur(String onblur) 128 { 129 _onblur = onblur; 130 } 131 132 public void setOnfocus(String onfocus) 133 { 134 _onfocus = onfocus; 135 } 136 137 public void setRel(String rel) 138 { 139 _rel = rel; 140 } 141 142 public void setRev(String rev) 143 { 144 _rev = rev; 145 } 146 147 public void setShape(String shape) 148 { 149 _shape = shape; 150 } 151 152 public void setTabindex(String tabindex) 153 { 154 _tabindex = tabindex; 155 } 156 157 public void setTarget(String target) 158 { 159 _target = target; 160 } 161 162 public void setType(String type) 163 { 164 _type = type; 165 } 166 } 167 | Popular Tags |