01: /*
02: * Created on Feb 3, 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;
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 abstract class XSSLPointer extends XSSLReference {
18: /**
19: * @param id
20: */
21: public XSSLPointer(String id) {
22: super (id);
23: // XXX Auto-generated constructor stub
24: }
25:
26: /**
27: * @param id
28: * @param properties
29: */
30: public XSSLPointer(String id, HashMap properties) {
31: super (id, properties);
32: // XXX Auto-generated constructor stub
33: }
34:
35: /* (non-Javadoc)
36: * @see org.xdev.base.xssl.XSSLReference#processReference(java.lang.Object)
37: */
38: protected Object processReference(Object reference)
39: throws Exception {
40: XSSLAction curRef = (XSSLAction) reference;
41:
42: XSSLAction newRef = (XSSLAction) curRef.newInstance(curRef
43: .getRoot(), curRef.getParentComponent());
44:
45: newRef.addProperties(this .getProperties());
46:
47: return this .processPointer(newRef);
48: }
49:
50: protected abstract Object processPointer(XSSLAction pointer)
51: throws Exception;
52: }
|