1 33 34 package com.icesoft.faces.component.ext; 35 36 import com.icesoft.faces.component.CSS_DEFAULT; 37 import com.icesoft.faces.component.ext.taglib.Util; 38 39 import javax.faces.el.ValueBinding; 40 41 public class HtmlOutputFormat 42 extends javax.faces.component.html.HtmlOutputFormat { 43 44 45 public static final String COMPONENT_TYPE = 46 "com.icesoft.faces.HtmlOutputFormat"; 47 public static final String COMPONENT_FAMILY = "javax.faces.Output"; 48 public static final String RENDERER_TYPE = "javax.faces.Format"; 49 private String styleClass = null; 50 51 public HtmlOutputFormat() { 52 super(); 53 setRendererType(RENDERER_TYPE); 54 } 55 56 public String getRendererType() { 57 return RENDERER_TYPE; 58 } 59 60 public String getFamily() { 61 return COMPONENT_FAMILY; 62 } 63 64 67 public void setStyleClass(String styleClass) { 68 this.styleClass = styleClass; 69 } 70 71 74 public String getStyleClass() { 75 return Util.getQualifiedStyleClass(this, 76 styleClass, 77 CSS_DEFAULT.OUTPUT_FORMAT_DEFAULT_STYLE_CLASS, 78 "styleClass"); 79 } 80 81 } 82 | Popular Tags |