Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
Image |
|
| 0.0;0 |
1 | /* | |
2 | * Created on Feb 8, 2004 | |
3 | */ | |
4 | package net.sf.jolene.dom; | |
5 | ||
6 | import net.sf.jolene.constants.Tags; | |
7 | ||
8 | ||
9 | /** | |
10 | * An image in a html document. | |
11 | * | |
12 | * @author Dan Howard | |
13 | */ | |
14 | 1 | public final class Image extends HTMLElement { |
15 | ||
16 | /** | |
17 | * Default constructor. | |
18 | */ | |
19 | 81 | public Image() { |
20 | 81 | tag = Tags.img; |
21 | 81 | } |
22 | ||
23 | ||
24 | /** | |
25 | * Returns a clone of the image object. | |
26 | * | |
27 | * @return Image object. | |
28 | */ | |
29 | @Override | |
30 | public Image clone() { | |
31 | 1 | return (Image) super.clone(); |
32 | } | |
33 | } |