1 37 package net.thauvin.google.taglibs; 38 39 import javax.servlet.jsp.tagext.BodyTagSupport ; 40 41 42 50 public abstract class StyleSupport extends BodyTagSupport 51 { 52 55 protected String css = null; 56 57 60 protected String style = null; 61 62 65 protected String target = null; 66 67 72 public final void setCss(String css) 73 { 74 this.css = css; 75 } 76 77 82 public final void setStyle(String style) 83 { 84 this.style = style; 85 } 86 87 92 public final void setTarget(String target) 93 { 94 this.target = target; 95 } 96 97 100 public void release() 101 { 102 super.release(); 103 104 reset(); 106 } 107 108 111 protected void reset() 112 { 113 target = style = css = null; 115 } 116 } 117 | Popular Tags |