Class Banner
java.lang.Object
org.apache.maven.doxia.site.decoration.Banner
- All Implemented Interfaces:
Serializable
,Cloneable
Banner logo on the masthead of the site.
- Version:
- $Revision$ $Date$
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate String
The alt description for the banner image.private String
The border to use for the banner image.private String
The height to use for the banner image.private String
The href of a link to be used for the banner image.private String
The name of the banner.private String
The source location of an image for the banner.private String
The title for the banner image.private String
The width to use for the banner image. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Method clone.boolean
Method equals.getAlt()
Get the alt description for the banner image.Get the border to use for the banner image.Get the height to use for the banner image.getHref()
Get the href of a link to be used for the banner image.getName()
Get the name of the banner.getSrc()
Get the source location of an image for the banner.getTitle()
Get the title for the banner image.getWidth()
Get the width to use for the banner image.int
hashCode()
Method hashCode.void
Set the alt description for the banner image.void
Set the border to use for the banner image.void
Set the height to use for the banner image.void
Set the href of a link to be used for the banner image.void
Set the name of the banner.void
Set the source location of an image for the banner.void
Set the title for the banner image.void
Set the width to use for the banner image.toString()
Method toString.
-
Field Details
-
name
The name of the banner. -
src
The source location of an image for the banner. -
alt
The alt description for the banner image. -
href
The href of a link to be used for the banner image. -
border
The border to use for the banner image. -
width
The width to use for the banner image. -
height
The height to use for the banner image. -
title
The title for the banner image.
-
-
Constructor Details
-
Banner
public Banner()
-
-
Method Details
-
clone
Method clone. -
equals
Method equals. -
getAlt
Get the alt description for the banner image.- Returns:
- String
-
getBorder
Get the border to use for the banner image.- Returns:
- String
-
getHeight
Get the height to use for the banner image.- Returns:
- String
-
getHref
Get the href of a link to be used for the banner image.- Returns:
- String
-
getName
Get the name of the banner.- Returns:
- String
-
getSrc
Get the source location of an image for the banner.- Returns:
- String
-
getTitle
Get the title for the banner image.- Returns:
- String
-
getWidth
Get the width to use for the banner image.- Returns:
- String
-
hashCode
public int hashCode()Method hashCode. -
setAlt
Set the alt description for the banner image.- Parameters:
alt
- a alt object.
-
setBorder
Set the border to use for the banner image.- Parameters:
border
- a border object.
-
setHeight
Set the height to use for the banner image.- Parameters:
height
- a height object.
-
setHref
Set the href of a link to be used for the banner image.- Parameters:
href
- a href object.
-
setName
Set the name of the banner.- Parameters:
name
- a name object.
-
setSrc
Set the source location of an image for the banner.- Parameters:
src
- a src object.
-
setTitle
Set the title for the banner image.- Parameters:
title
- a title object.
-
setWidth
Set the width to use for the banner image.- Parameters:
width
- a width object.
-
toString
Method toString.
-