View Javadoc
1   /*
2    * Copyright 2011 FatWire Corporation. All Rights Reserved.
3    *
4    * Licensed under the Apache License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    *
8    *    http://www.apache.org/licenses/LICENSE-2.0
9    *
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   */
16  package com.fatwire.gst.foundation.html;
17  
18  /**
19   * @author Dolf Dijkstra
20   * @since Apr 16, 2011
21   */
22  public final class Anchor extends BaseElement {
23  
24      private String charset;
25      private String type;
26      private String name;
27  
28      private String href;
29      private String hreflang;
30      private String rel;
31      private String rev;
32  
33      private String accesskey;
34      private String shape;
35      private String coords;
36      private String tabindex;
37  
38      private String onfocus;
39      private String onblur;
40  
41      private String target;
42  
43      /**
44       * @return the charset
45       */
46      public String getCharset() {
47          return charset;
48      }
49  
50      /**
51       * @param charset the charset to set
52       */
53      public void setCharset(final String charset) {
54          this.charset = charset;
55      }
56  
57      /**
58       * @return the type
59       */
60      public String getType() {
61          return type;
62      }
63  
64      /**
65       * @param type the type to set
66       */
67      public void setType(final String type) {
68          this.type = type;
69      }
70  
71      /**
72       * @return the name
73       */
74      public String getName() {
75          return name;
76      }
77  
78      /**
79       * @param name the name to set
80       */
81      public void setName(final String name) {
82          this.name = name;
83      }
84  
85      /**
86       * @return the href
87       */
88      public String getHref() {
89          return href;
90      }
91  
92      /**
93       * @param href the href to set
94       */
95      public void setHref(final String href) {
96          this.href = href;
97      }
98  
99      /**
100      * @return the hreflang
101      */
102     public String getHreflang() {
103         return hreflang;
104     }
105 
106     /**
107      * @param hreflang the hreflang to set
108      */
109     public void setHreflang(final String hreflang) {
110         this.hreflang = hreflang;
111     }
112 
113     /**
114      * @return the rel
115      */
116     public String getRel() {
117         return rel;
118     }
119 
120     /**
121      * @param rel the rel to set
122      */
123     public void setRel(final String rel) {
124         this.rel = rel;
125     }
126 
127     /**
128      * @return the rev
129      */
130     public String getRev() {
131         return rev;
132     }
133 
134     /**
135      * @param rev the rev to set
136      */
137     public void setRev(final String rev) {
138         this.rev = rev;
139     }
140 
141     /**
142      * @return the accesskey
143      */
144     public String getAccesskey() {
145         return accesskey;
146     }
147 
148     /**
149      * @param accesskey the accesskey to set
150      */
151     public void setAccesskey(final String accesskey) {
152         this.accesskey = accesskey;
153     }
154 
155     /**
156      * @return the shape
157      */
158     public String getShape() {
159         return shape;
160     }
161 
162     /**
163      * @param shape the shape to set
164      */
165     public void setShape(final String shape) {
166         this.shape = shape;
167     }
168 
169     /**
170      * @return the coords
171      */
172     public String getCoords() {
173         return coords;
174     }
175 
176     /**
177      * @param coords the coords to set
178      */
179     public void setCoords(final String coords) {
180         this.coords = coords;
181     }
182 
183     /**
184      * @return the tabindex
185      */
186     public String getTabindex() {
187         return tabindex;
188     }
189 
190     /**
191      * @param tabindex the tabindex to set
192      */
193     public void setTabindex(final String tabindex) {
194         this.tabindex = tabindex;
195     }
196 
197     /**
198      * @return the onfocus
199      */
200     public String getOnfocus() {
201         return onfocus;
202     }
203 
204     /**
205      * @param onfocus the onfocus to set
206      */
207     public void setOnfocus(final String onfocus) {
208         this.onfocus = onfocus;
209     }
210 
211     /**
212      * @return the onblur
213      */
214     public String getOnblur() {
215         return onblur;
216     }
217 
218     /**
219      * @param onblur the onblur to set
220      */
221     public void setOnblur(final String onblur) {
222         this.onblur = onblur;
223     }
224 
225     /**
226      * @return the target
227      */
228     public String getTarget() {
229         return target;
230     }
231 
232     /**
233      * @param target the target to set
234      */
235     public void setTarget(final String target) {
236         this.target = target;
237     }
238 
239 }