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
-
-
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.
-
-
-
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- a other object.- 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- a alt object.
-
setBorder
public void setBorder(java.lang.String border)
Set the border to use for the banner image.- Parameters:
border- a border object.
-
setHeight
public void setHeight(java.lang.String height)
Set the height to use for the banner image.- Parameters:
height- a height object.
-
setHref
public void setHref(java.lang.String href)
Set the href of a link to be used for the banner image.- Parameters:
href- a href object.
-
setName
public void setName(java.lang.String name)
Set the name of the banner.- Parameters:
name- a name object.
-
setSrc
public void setSrc(java.lang.String src)
Set the source location of an image for the banner.- Parameters:
src- a src object.
-
setTitle
public void setTitle(java.lang.String title)
Set the title for the banner image.- Parameters:
title- a title object.
-
setWidth
public void setWidth(java.lang.String width)
Set the width to use for the banner image.- Parameters:
width- a width object.
-
toString
public java.lang.String toString()
Method toString.- Overrides:
toStringin classjava.lang.Object- Returns:
- String
-
-