01: /*
02: * Created on Mar 18, 2004
03: *
04: * To change the template for this generated file go to
05: * Window>Preferences>Java>Code Generation>Code and Comments
06: */
07: package org.xdev.base.xssl.text.jsp;
08:
09: import java.util.HashMap;
10:
11: import org.xdev.base.xssl.text.TextAppend;
12:
13: /**
14: * @author AYegorov
15: *
16: * To change the template for this generated type comment go to
17: * Window>Preferences>Java>Code Generation>Code and Comments
18: */
19: public class JspTags extends TextAppend {
20: /**
21: * @param id
22: */
23: public JspTags(String id) {
24: super (id);
25: // XXX Auto-generated constructor stub
26: }
27:
28: /**
29: * @param id
30: * @param properties
31: */
32: public JspTags(String id, HashMap properties) {
33: super (id, properties);
34: // XXX Auto-generated constructor stub
35: }
36:
37: public Object getObjectValue() {
38: StringBuffer buffer = new StringBuffer();
39:
40: buffer.append("<%");
41:
42: if (this .getBooleanProperty("out")) {
43: buffer.append("=");
44: }
45:
46: buffer.append(super .getObjectValue());
47:
48: buffer.append("%>");
49:
50: return buffer;
51: }
52: }
|