public class Image extends Object implements Serializable
Implementation object representing an image in the Rich Site Summary DTD, version 0.91. This class may be subclassed to further specialize its behavior.
Modifier and Type | Field and Description |
---|---|
protected String |
description
The image description (1-100 characters).
|
protected int |
height
The image height in pixels (1-400).
|
protected String |
link
The image link (1-500 characters).
|
protected String |
title
The image alternate text (1-100 characters).
|
protected String |
url
The image location URL (1-500 characters).
|
protected int |
width
The image width in pixels (1-400).
|
Constructor and Description |
---|
Image() |
Modifier and Type | Method and Description |
---|---|
String |
getDescription() |
int |
getHeight() |
String |
getLink() |
String |
getTitle() |
String |
getURL() |
int |
getWidth() |
void |
setDescription(String description) |
void |
setHeight(int height) |
void |
setLink(String link) |
void |
setTitle(String title) |
void |
setURL(String url) |
void |
setWidth(int width) |
protected String description
protected int height
protected int width
public Image()
public String getDescription()
public void setDescription(String description)
public int getHeight()
public void setHeight(int height)
public int getWidth()
public void setWidth(int width)
Copyright © 2001-2013 The Apache Software Foundation. All Rights Reserved.