01: /*
02: * Created on Dec 2, 2003
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;
08:
09: import java.util.HashMap;
10:
11: /**
12: * @author AYegorov
13: *
14: * To change the template for this generated type comment go to
15: * Window>Preferences>Java>Code Generation>Code and Comments
16: */
17: public final class XObject extends XSSLObject {
18: public static final String OBJECT_TAG_NAME = "object";
19:
20: private Object returnValue = null;
21:
22: /**
23: * @param id
24: */
25: public XObject(String id) {
26: super (id);
27: // TODO Auto-generated constructor stub
28: }
29:
30: /**
31: * @param id
32: * @param properties
33: */
34: public XObject(String id, HashMap properties) {
35: super (id, properties);
36: // TODO Auto-generated constructor stub
37: }
38:
39: /* (non-Javadoc)
40: * @see org.xdev.base.xssl.XSSLObject#processObject(java.lang.Object)
41: */
42: protected Object processObject(Object obj) throws Exception {
43:
44: while (obj instanceof XSSLReturn) {
45: obj = ((XSSLReturn) obj).getObjectValue();
46: }
47:
48: return obj;
49: }
50:
51: }
|