Package org.apache.maven.doxia.site
Class Image
- java.lang.Object
-
- org.apache.maven.doxia.site.Image
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable
public class Image extends java.lang.Object implements java.io.Serializable, java.lang.CloneableAn image.- Version:
- $Revision$ $Date$
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.StringaltThe alternative text to use.private java.lang.StringheightThe height to use.private java.lang.StringpositionWhere to place the image relative to the displayed name (left or right).private java.lang.StringsrcThe source location.private java.lang.StringstyleThe style to use.private java.lang.StringwidthThe width to use.
-
Constructor Summary
Constructors Constructor Description Image()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Imageclone()Method clone.booleanequals(java.lang.Object other)Method equals.java.lang.StringgetAlt()Get the alternative text to use.java.lang.StringgetHeight()Get the height to use.java.lang.StringgetPosition()Get where to place the image relative to the displayed name (left or right).java.lang.StringgetSrc()Get the source location.java.lang.StringgetStyle()Get the style to use.java.lang.StringgetWidth()Get the width to use.inthashCode()Method hashCode.voidsetAlt(java.lang.String alt)Set the alternative text to use.voidsetHeight(java.lang.String height)Set the height to use.voidsetPosition(java.lang.String position)Set where to place the image relative to the displayed name (left or right).voidsetSrc(java.lang.String src)Set the source location.voidsetStyle(java.lang.String style)Set the style to use.voidsetWidth(java.lang.String width)Set the width to use.java.lang.StringtoString()Method toString.
-
-
-
Field Detail
-
src
private java.lang.String src
The source location.
-
position
private java.lang.String position
Where to place the image relative to the displayed name (left or right).
-
alt
private java.lang.String alt
The alternative text to use.
-
width
private java.lang.String width
The width to use.
-
height
private java.lang.String height
The height to use.
-
style
private java.lang.String style
The style to use.
-
-
Method Detail
-
clone
public Image clone()
Method clone.- Overrides:
clonein classjava.lang.Object- Returns:
- Image
-
equals
public boolean equals(java.lang.Object other)
Method equals.- Overrides:
equalsin classjava.lang.Object- Parameters:
other- a other object.- Returns:
- boolean
-
getAlt
public java.lang.String getAlt()
Get the alternative text to use.- Returns:
- String
-
getHeight
public java.lang.String getHeight()
Get the height to use.- Returns:
- String
-
getPosition
public java.lang.String getPosition()
Get where to place the image relative to the displayed name (left or right).- Returns:
- String
-
getSrc
public java.lang.String getSrc()
Get the source location.- Returns:
- String
-
getStyle
public java.lang.String getStyle()
Get the style to use.- Returns:
- String
-
getWidth
public java.lang.String getWidth()
Get the width to use.- Returns:
- String
-
hashCode
public int hashCode()
Method hashCode.- Overrides:
hashCodein classjava.lang.Object- Returns:
- int
-
setAlt
public void setAlt(java.lang.String alt)
Set the alternative text to use.- Parameters:
alt- a alt object.
-
setHeight
public void setHeight(java.lang.String height)
Set the height to use.- Parameters:
height- a height object.
-
setPosition
public void setPosition(java.lang.String position)
Set where to place the image relative to the displayed name (left or right).- Parameters:
position- a position object.
-
setSrc
public void setSrc(java.lang.String src)
Set the source location.- Parameters:
src- a src object.
-
setStyle
public void setStyle(java.lang.String style)
Set the style to use.- Parameters:
style- a style object.
-
setWidth
public void setWidth(java.lang.String width)
Set the width to use.- Parameters:
width- a width object.
-
toString
public java.lang.String toString()
Method toString.- Overrides:
toStringin classjava.lang.Object- Returns:
- String
-
-