01: /*
02: * Created on 20 Feb 2007
03: */
04: package uk.org.ponder.rsf.components.decorators;
05:
06: import uk.org.ponder.rsf.components.UIBoundString;
07:
08: /** Alternative text to be displayed when a user agent cannot or chooses
09: * not to display an element.
10: * @author Antranig Basman (antranig@caret.cam.ac.uk)
11: *
12: */
13:
14: public class UIAlternativeTextDecorator extends UIBoundStringDecorator {
15: public UIAlternativeTextDecorator() {
16: }
17:
18: public UIAlternativeTextDecorator(String text) {
19: this .text = new UIBoundString(text);
20: }
21:
22: public UIAlternativeTextDecorator(UIBoundString text) {
23: this.text = text;
24: }
25: }
|