Class Banner
- java.lang.Object
-
- org.apache.maven.doxia.site.decoration.Banner
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable
public class Banner extends java.lang.Object implements java.io.Serializable, java.lang.CloneableBanner logo on the masthead of the site.- Version:
- $Revision$ $Date$
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.StringaltThe alt description for the banner image.private java.lang.StringborderThe border to use for the banner image.private java.lang.StringheightThe height to use for the banner image.private java.lang.StringhrefThe href of a link to be used for the banner image.private java.lang.StringnameThe name of the banner.private java.lang.StringsrcThe source location of an image for the banner.private java.lang.StringtitleThe title for the banner image.private java.lang.StringwidthThe width to use for the banner image.
-
Constructor Summary
Constructors Constructor Description Banner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Bannerclone()Method clone.booleanequals(java.lang.Object other)Method equals.java.lang.StringgetAlt()Get the alt description for the banner image.java.lang.StringgetBorder()Get the border to use for the banner image.java.lang.StringgetHeight()Get the height to use for the banner image.java.lang.StringgetHref()Get the href of a link to be used for the banner image.java.lang.StringgetName()Get the name of the banner.java.lang.StringgetSrc()Get the source location of an image for the banner.java.lang.StringgetTitle()Get the title for the banner image.java.lang.StringgetWidth()Get the width to use for the banner image.inthashCode()Method hashCode.voidsetAlt(java.lang.String alt)Set the alt description for the banner image.voidsetBorder(java.lang.String border)Set the border to use for the banner image.voidsetHeight(java.lang.String height)Set the height to use for the banner image.voidsetHref(java.lang.String href)Set the href of a link to be used for the banner image.voidsetName(java.lang.String name)Set the name of the banner.voidsetSrc(java.lang.String src)Set the source location of an image for the banner.voidsetTitle(java.lang.String title)Set the title for the banner image.voidsetWidth(java.lang.String width)Set the width to use for the banner image.java.lang.StringtoString()Method toString.
-
-
-
Field Detail
-
name
private java.lang.String name
The name of the banner.
-
src
private java.lang.String src
The source location of an image for the banner.
-
alt
private java.lang.String alt
The alt description for the banner image.
-
href
private java.lang.String href
The href of a link to be used for the banner image.
-
border
private java.lang.String border
The border to use for the banner image.
-
width
private java.lang.String width
The width to use for the banner image.
-
height
private java.lang.String height
The height to use for the banner image.
-
title
private java.lang.String title
The title for the banner image.
-
-
Method Detail
-
clone
public Banner clone()
Method clone.- Overrides:
clonein classjava.lang.Object- Returns:
- Banner
-
equals
public boolean equals(java.lang.Object other)
Method equals.- Overrides:
equalsin classjava.lang.Object- Parameters:
other-- Returns:
- boolean
-
getAlt
public java.lang.String getAlt()
Get the alt description for the banner image.- Returns:
- String
-
getBorder
public java.lang.String getBorder()
Get the border to use for the banner image.- Returns:
- String
-
getHeight
public java.lang.String getHeight()
Get the height to use for the banner image.- Returns:
- String
-
getHref
public java.lang.String getHref()
Get the href of a link to be used for the banner image.- Returns:
- String
-
getName
public java.lang.String getName()
Get the name of the banner.- Returns:
- String
-
getSrc
public java.lang.String getSrc()
Get the source location of an image for the banner.- Returns:
- String
-
getTitle
public java.lang.String getTitle()
Get the title for the banner image.- Returns:
- String
-
getWidth
public java.lang.String getWidth()
Get the width to use for the banner image.- 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 alt description for the banner image.- Parameters:
alt-
-
setBorder
public void setBorder(java.lang.String border)
Set the border to use for the banner image.- Parameters:
border-
-
setHeight
public void setHeight(java.lang.String height)
Set the height to use for the banner image.- Parameters:
height-
-
setHref
public void setHref(java.lang.String href)
Set the href of a link to be used for the banner image.- Parameters:
href-
-
setName
public void setName(java.lang.String name)
Set the name of the banner.- Parameters:
name-
-
setSrc
public void setSrc(java.lang.String src)
Set the source location of an image for the banner.- Parameters:
src-
-
setTitle
public void setTitle(java.lang.String title)
Set the title for the banner image.- Parameters:
title-
-
setWidth
public void setWidth(java.lang.String width)
Set the width to use for the banner image.- Parameters:
width-
-
toString
public java.lang.String toString()
Method toString.- Overrides:
toStringin classjava.lang.Object- Returns:
- String
-
-