1 28 29 package com.caucho.jsf.cfg; 30 31 import java.util.*; 32 33 import javax.el.*; 34 35 import javax.faces.*; 36 import javax.faces.application.*; 37 import javax.faces.component.*; 38 import javax.faces.component.html.*; 39 import javax.faces.context.*; 40 import javax.faces.convert.*; 41 import javax.faces.el.*; 42 import javax.faces.event.*; 43 import javax.faces.validator.*; 44 45 import javax.xml.bind.annotation.*; 46 47 import com.caucho.config.*; 48 import com.caucho.util.*; 49 50 @XmlRootElement(name="factory") 51 public class AttributeConfig 52 { 53 @XmlAttribute(name="id") 54 private String _id; 55 56 58 @XmlElement(name="attribute-name") 59 private String _name; 60 61 private Class _class; 62 63 @XmlElement(name="default-value") 64 private String _defaultValue; 65 66 @XmlElement(name="suggested-value") 67 private String _suggestedValue; 68 69 @XmlElement(name="attribute-class") 70 private void setAttributeClass(Class cl) 71 throws ConfigException 72 { 73 Config.checkCanInstantiate(cl); 74 75 _class = cl; 76 } 77 78 @XmlElement(name="application-extension") 79 private void setApplicationExtension(BuilderProgram program) 80 throws ConfigException 81 { 82 } 83 } 84 | Popular Tags |