KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jahia > clipbuilder > html > web > Url > Impl > BaseUrlEncoder


1 package org.jahia.clipbuilder.html.web.Url.Impl;
2
3 import org.jahia.clipbuilder.html.web.Url.UrlEncoderIF;
4 import org.jahia.clipbuilder.html.web.Url.URLWrapper;
5
6 /**
7  * Base implementation of UrlEncoder
8  *
9  *@author ktlili
10  */

11 public abstract class BaseUrlEncoder implements UrlEncoderIF {
12
13     private URLWrapper urlWrapper;
14     private String JavaDoc action;
15
16
17
18     /**
19      * Sets the Action attribute of the UrlEncoderIF object
20      *
21      *@param action The new Action value
22      */

23     public void setAction(String JavaDoc action) {
24         this.action = action;
25     }
26
27
28     /**
29      * Sets the UrlWrapper attribute of the UrlEncoderIF object
30      *
31      *@param urlWrapper The new UrlWrapper value
32      */

33     public void setUrlWrapper(URLWrapper urlWrapper) {
34         this.urlWrapper = urlWrapper;
35     }
36
37
38
39     /**
40      * Gets the Action attribute of the UrlEncoderIF object
41      *
42      *@return The Action value
43      */

44     public String JavaDoc getAction() {
45         return action;
46     }
47
48
49     /**
50      * Gets the UrlWrapper attribute of the UrlEncoderIF object
51      *
52      *@return The UrlWrapper value
53      */

54     public URLWrapper getUrlWrapper() {
55         return urlWrapper;
56     }
57
58 }
59
Popular Tags