1 18 19 package org.apache.struts.tiles; 20 21 24 public class UntypedAttribute implements AttributeDefinition { 25 26 29 protected String role = null; 30 31 protected Object value=null; 32 33 37 public UntypedAttribute(Object value) { 38 this.value = value; 39 } 40 41 46 public UntypedAttribute(Object value, String role) { 47 this.value = value; 48 this.role = role; 49 } 50 51 54 public String getRole() { 55 return role; 56 } 57 58 62 public void setRole(String role) { 63 this.role = role; 64 } 65 66 69 public Object getValue() { 70 return value; 71 } 72 73 77 public void setValue(Object value) { 78 this.value = value; 79 } 80 81 84 public String toString() { 85 return value.toString(); 86 } 87 88 } 89 | Popular Tags |