1 7 package org.ejtools.servlet.http.jsp.tagext.tree; 8 9 10 16 public class IndentedObject 17 { 18 19 protected String depth = null; 20 21 protected boolean last = false; 22 23 protected Object o = null; 24 25 26 27 public IndentedObject() { } 28 29 30 35 public String getDepth() 36 { 37 return this.depth; 38 } 39 40 41 46 public Object getObject() 47 { 48 return this.o; 49 } 50 51 52 57 public boolean isLast() 58 { 59 return this.last; 60 } 61 62 63 68 public void setDepth(String depth) 69 { 70 this.depth = depth; 71 } 72 73 74 79 public void setLast(boolean last) 80 { 81 this.last = last; 82 } 83 84 85 90 public void setObject(Object o) 91 { 92 this.o = o; 93 } 94 95 96 101 public String toString() 102 { 103 return "D=" + depth + " L=" + last + " O=" + o; 104 } 105 } 106 | Popular Tags |