Package org.apache.maven.doxia.site
Class Image
java.lang.Object
org.apache.maven.doxia.site.Image
- All Implemented Interfaces:
Serializable
,Cloneable
An image.
- Version:
- $Revision$ $Date$
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate String
The alternative text to use.private String
The height to use.private String
Where to place the image relative to the displayed name (left or right).private String
The source location.private String
The style to use.private String
The width to use. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Method clone.boolean
Method equals.getAlt()
Get the alternative text to use.Get the height to use.Get where to place the image relative to the displayed name (left or right).getSrc()
Get the source location.getStyle()
Get the style to use.getWidth()
Get the width to use.int
hashCode()
Method hashCode.void
Set the alternative text to use.void
Set the height to use.void
setPosition
(String position) Set where to place the image relative to the displayed name (left or right).void
Set the source location.void
Set the style to use.void
Set the width to use.toString()
Method toString.
-
Field Details
-
src
The source location. -
position
Where to place the image relative to the displayed name (left or right). -
alt
The alternative text to use. -
width
The width to use. -
height
The height to use. -
style
The style to use.
-
-
Constructor Details
-
Image
public Image()
-
-
Method Details
-
clone
Method clone. -
equals
Method equals. -
getAlt
Get the alternative text to use.- Returns:
- String
-
getHeight
Get the height to use.- Returns:
- String
-
getPosition
Get where to place the image relative to the displayed name (left or right).- Returns:
- String
-
getSrc
Get the source location.- Returns:
- String
-
getStyle
Get the style to use.- Returns:
- String
-
getWidth
Get the width to use.- Returns:
- String
-
hashCode
public int hashCode()Method hashCode. -
setAlt
Set the alternative text to use.- Parameters:
alt
- a alt object.
-
setHeight
Set the height to use.- Parameters:
height
- a height object.
-
setPosition
Set where to place the image relative to the displayed name (left or right).- Parameters:
position
- a position object.
-
setSrc
Set the source location.- Parameters:
src
- a src object.
-
setStyle
Set the style to use.- Parameters:
style
- a style object.
-
setWidth
Set the width to use.- Parameters:
width
- a width object.
-
toString
Method toString.
-