01: /*
02: * Created on Nov 16, 2005
03: */
04: package uk.org.ponder.rsf.components;
05:
06: /** A deletion binding specifies the removal of an element of the
07: * bean model from its container. The fields in the UIParameter parent will
08: * be filled in by a component fixup processor.
09: * @author Antranig Basman (antranig@caret.cam.ac.uk)
10: *
11: */
12: public class UIDeletionBinding extends UIParameter {
13: public UIDeletionBinding() {
14: }
15:
16: public UIDeletionBinding(String deletebinding, Object deletetarget) {
17: this .deletebinding = ELReference.make(deletebinding);
18: this .deletetarget = deletetarget;
19: }
20:
21: public UIDeletionBinding(String deletebinding) {
22: this (deletebinding, null);
23: }
24:
25: /** An EL path (including #{})
26: * specifying the location in the bean model the deletion
27: * is to occur. If the target field is left blank, this binding specifies
28: * the removal of the object specified by the tail portion of the path
29: * (after the final ".").
30: */
31: public ELReference deletebinding;
32: public Object deletetarget;
33: }
|