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:
-
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.
-
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.
-