KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jahia > clipbuilder > html > struts > webBrowser > WebBrowserForm


1 package org.jahia.clipbuilder.html.struts.webBrowser;
2
3 import java.util.*;
4
5 import org.apache.struts.action.*;
6
7 /**
8  * Description of the Class
9  *
10  *@author Tlili Khaled
11  */

12 public class WebBrowserForm extends ActionForm {
13     private int positionUrl;
14     private String JavaDoc content;
15     private String JavaDoc linkHash;
16     private String JavaDoc from;
17     private String JavaDoc show;
18     private String JavaDoc webBrowserSimulatorMode;
19     private List frameUrlList;
20     //private String nameSpace;
21
private static org.apache.log4j.Logger logger = org.apache.log4j.Logger.getLogger(WebBrowserForm.class);
22
23
24
25     /**
26      * Sets the Content attribute of the WebBrowserForm object
27      *
28      *@param content The new Content value
29      */

30     public void setContent(String JavaDoc content) {
31         logger.debug("Content is set");
32         this.content = content;
33     }
34
35
36
37     /**
38      * Sets the LinkHash attribute of the WebBrowserForm object
39      *
40      *@param linkHash The new LinkHash value
41      */

42     public void setLinkHash(String JavaDoc linkHash) {
43         this.linkHash = linkHash;
44     }
45
46
47
48     /**
49      * Sets the From attribute of the WebBrowserForm object
50      *
51      *@param from The new From value
52      */

53     public void setFrom(String JavaDoc from) {
54         this.from = from;
55     }
56
57
58     /**
59      * Sets the Show attribute of the WebBrowserForm object
60      *
61      *@param show The new Show value
62      */

63     public void setShow(String JavaDoc show) {
64         logger.debug("Show is set whith: " + show);
65         this.show = show;
66     }
67
68
69     /**
70      * Sets the PositionUrl attribute of the WebBrowserForm object
71      *
72      *@param positionUrl The new PositionUrl value
73      */

74     public void setPositionUrl(int positionUrl) {
75         this.positionUrl = positionUrl;
76     }
77
78
79     /**
80      * Sets the WebBrowserSimulatorMode attribute of the WebBrowserForm object
81      *
82      *@param webBrowserSimulatorMode The new WebBrowserSimulatorMode value
83      */

84     public void setWebBrowserSimulatorMode(String JavaDoc webBrowserSimulatorMode) {
85         this.webBrowserSimulatorMode = webBrowserSimulatorMode;
86     }
87
88
89     /**
90      * Sets the FrameUrlList attribute of the WebBrowserForm object
91      *
92      *@param frameUrlList The new FrameUrlList value
93      */

94     public void setFrameUrlList(List frameUrlList) {
95         this.frameUrlList = frameUrlList;
96     }
97
98
99     /**
100      * Sets the NameSpace attribute of the WebBrowserForm object
101      *
102      *@param nameSpace The new NameSpace value
103      */

104     /*public void setNameSpace(String nameSpace) {
105         this.nameSpace = nameSpace;
106     }*/

107
108
109     /**
110      * Gets the Errors attribute of the WebBrowserForm object
111      *
112      *@return The Errors value
113      */

114     public ActionErrors getErrors() {
115         ActionErrors errors = new ActionErrors();
116         return errors;
117     }
118
119
120     /**
121      * Gets the Content attribute of the WebBrowserForm object
122      *
123      *@return The Content value
124      */

125     public String JavaDoc getContent() {
126         return content;
127     }
128
129
130     /**
131      * Gets the From attribute of the WebBrowserForm object
132      *
133      *@return The From value
134      */

135     public String JavaDoc getFrom() {
136         return from;
137     }
138
139
140
141
142     /**
143      * Gets the LinkHash attribute of the WebBrowserForm object
144      *
145      *@return The LinkHash value
146      */

147     public String JavaDoc getLinkHash() {
148         return linkHash;
149     }
150
151
152
153     /**
154      * Gets the Show attribute of the WebBrowserForm object
155      *
156      *@return The Show value
157      */

158     public String JavaDoc getShow() {
159         return show;
160     }
161
162
163     /**
164      * Gets the PositionUrl attribute of the WebBrowserForm object
165      *
166      *@return The PositionUrl value
167      */

168     public int getPositionUrl() {
169         return positionUrl;
170     }
171
172
173     /**
174      * Gets the WebBrowserSimulatorMode attribute of the WebBrowserForm object
175      *
176      *@return The WebBrowserSimulatorMode value
177      */

178     public String JavaDoc getWebBrowserSimulatorMode() {
179         return webBrowserSimulatorMode;
180     }
181
182
183     /**
184      * Gets the FrameUrlList attribute of the WebBrowserForm object
185      *
186      *@return The FrameUrlList value
187      */

188     public List getFrameUrlList() {
189         return frameUrlList;
190     }
191
192
193     /**
194      * Gets the NameSpace attribute of the WebBrowserForm object
195      *
196      *@return The NameSpace value
197      */

198     /*public String getNameSpace() {
199         return nameSpace;
200     }*/

201 }
202
Popular Tags