1 28 29 package com.caucho.jsp.cfg; 30 31 34 public class TldVariable { 35 private String _nameGiven; 36 private String _nameFromAttribute; 37 private String _alias; 38 private String _variableClass; 39 private boolean _declare = true; 40 private String _scope = "NESTED"; 41 private String _description; 42 43 46 public void setNameGiven(String nameGiven) 47 { 48 _nameGiven = nameGiven; 49 } 50 51 54 public String getNameGiven() 55 { 56 return _nameGiven; 57 } 58 59 62 public void setNameFromAttribute(String nameFromAttribute) 63 { 64 _nameFromAttribute = nameFromAttribute; 65 } 66 67 70 public String getNameFromAttribute() 71 { 72 return _nameFromAttribute; 73 } 74 75 78 public void setAlias(String alias) 79 { 80 _alias = alias; 81 } 82 83 86 public String getAlias() 87 { 88 return _alias; 89 } 90 91 94 public void setVariableClass(String variableClass) 95 { 96 _variableClass = variableClass; 97 } 98 99 102 public String getVariableClass() 103 { 104 if (_variableClass != null) 105 return _variableClass; 106 else 107 return "java.lang.String"; 108 } 109 110 113 public void setDeclare(boolean declare) 114 { 115 _declare = declare; 116 } 117 118 121 public boolean getDeclare() 122 { 123 return _declare; 124 } 125 126 129 public void setScope(String scope) 130 { 131 _scope = scope; 132 } 133 134 137 public String getScope() 138 { 139 return _scope; 140 } 141 142 145 public void setDescription(String description) 146 { 147 _description = description; 148 } 149 150 153 public String getDescription() 154 { 155 return _description; 156 } 157 } 158 | Popular Tags |