KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jahia > clipbuilder > html > web > Url > URLWrapper


1 package org.jahia.clipbuilder.html.web.Url;
2
3 /**
4  * Description of the Class
5  *
6  *@author Tlili Khaled
7  */

8 public class URLWrapper {
9     private String JavaDoc sourceUrl;
10     private String JavaDoc from;
11     private String JavaDoc method;
12     private String JavaDoc hash;
13     private String JavaDoc enctype;
14
15
16     /**
17      * Constructor for the URLWrapper object
18      */

19     public URLWrapper() {
20     }
21
22
23     /**
24      * Constructor for the URLWrapper object
25      *
26      *@param src Description of Parameter
27      *@param from Description of Parameter
28      *@param method Description of Parameter
29      *@param mimeType Description of Parameter
30      *@param hash Description of Parameter
31      */

32     public URLWrapper(String JavaDoc src, String JavaDoc from, String JavaDoc method, String JavaDoc mimeType, String JavaDoc hash) {
33         setSourceUrl(src);
34         setFrom(from);
35         setMethod(method);
36         setEnctype(mimeType);
37         setHash(hash);
38     }
39
40
41     /**
42      * Sets the SourceUrl attribute of the URLWrapper object
43      *
44      *@param sourceUrl The new SourceUrl value
45      */

46     public void setSourceUrl(String JavaDoc sourceUrl) {
47         this.sourceUrl = sourceUrl;
48     }
49
50
51     /**
52      * Sets the From attribute of the URLWrapper object
53      *
54      *@param from The new From value
55      */

56     public void setFrom(String JavaDoc from) {
57         this.from = from;
58     }
59
60
61     /**
62      * Sets the Method attribute of the URLWrapper object
63      *
64      *@param method The new Method value
65      */

66     public void setMethod(String JavaDoc method) {
67         this.method = method;
68     }
69
70
71     /**
72      * Sets the Enctype attribute of the URLWrapper object
73      *
74      *@param enctype The new Enctype value
75      */

76     public void setEnctype(String JavaDoc enctype) {
77         this.enctype = enctype;
78     }
79
80
81     /**
82      * Sets the Hash attribute of the URLWrapper object
83      *
84      *@param hash The new Hash value
85      */

86     public void setHash(String JavaDoc hash) {
87         this.hash = hash;
88     }
89
90
91     /**
92      * Gets the SourceUrl attribute of the URLWrapper object
93      *
94      *@return The SourceUrl value
95      */

96     public String JavaDoc getSourceUrl() {
97         return sourceUrl;
98     }
99
100
101     /**
102      * Gets the From attribute of the URLWrapper object
103      *
104      *@return The From value
105      */

106     public String JavaDoc getFrom() {
107         return from;
108     }
109
110
111     /**
112      * Gets the Method attribute of the URLWrapper object
113      *
114      *@return The Method value
115      */

116     public String JavaDoc getMethod() {
117         return method;
118     }
119
120
121     /**
122      * Gets the Enctype attribute of the URLWrapper object
123      *
124      *@return The Enctype value
125      */

126     public String JavaDoc getEnctype() {
127         return enctype;
128     }
129
130
131     /**
132      * Gets the Hash attribute of the URLWrapper object
133      *
134      *@return The Hash value
135      */

136     public String JavaDoc getHash() {
137         return hash;
138     }
139
140 }
141
Popular Tags