public class DecorationModel extends Object implements Serializable, Cloneable
<project>
element is the root of
the site decoration descriptor.
The following table lists all of the possible child
elements.Constructor and Description |
---|
DecorationModel() |
Modifier and Type | Method and Description |
---|---|
void |
addPoweredBy(Logo logo)
Method addPoweredBy.
|
DecorationModel |
clone()
Method clone.
|
boolean |
equals(Object other)
Method equals.
|
Banner |
getBannerLeft()
Get banner logo on the masthead of the site to the left.
|
Banner |
getBannerRight()
Get banner logo on the masthead of the site to the right.
|
Body |
getBody()
Get the main site content decoration.
|
Object |
getCustom()
Get custom configuration for use with customized Velocity
templates.
|
String |
getGoogleAnalyticsAccountId()
Get the id for your Google Analytics account.
|
long |
getLastModified()
Get timestamp of the last modification of this decoration
model.
|
Menu |
getMenuRef(String key) |
List<Menu> |
getMenus() |
String |
getModelEncoding()
Get the modelEncoding field.
|
String |
getName()
Get the full name of the project.
|
List<Logo> |
getPoweredBy()
Method getPoweredBy.
|
PublishDate |
getPublishDate()
Get modify the date published display properties.
|
Skin |
getSkin()
Get the artifact containing the skin for the site.
|
Version |
getVersion()
Get modify the version published display properties.
|
int |
hashCode()
Method hashCode.
|
void |
removeMenuRef(String key) |
void |
removePoweredBy(Logo logo)
Method removePoweredBy.
|
void |
setBannerLeft(Banner bannerLeft)
Set banner logo on the masthead of the site to the left.
|
void |
setBannerRight(Banner bannerRight)
Set banner logo on the masthead of the site to the right.
|
void |
setBody(Body body)
Set the main site content decoration.
|
void |
setCustom(Object custom)
Set custom configuration for use with customized Velocity
templates.
|
void |
setGoogleAnalyticsAccountId(String googleAnalyticsAccountId)
Set the id for your Google Analytics account.
|
void |
setLastModified(long lastModified)
Set timestamp of the last modification of this decoration
model.
|
void |
setModelEncoding(String modelEncoding)
Set the modelEncoding field.
|
void |
setName(String name)
Set the full name of the project.
|
void |
setPoweredBy(List<Logo> poweredBy)
Set powered by logos list.
|
void |
setPublishDate(PublishDate publishDate)
Set modify the date published display properties.
|
void |
setSkin(Skin skin)
Set the artifact containing the skin for the site.
|
void |
setVersion(Version version)
Set modify the version published display properties.
|
String |
toString()
Method toString.
|
public void addPoweredBy(Logo logo)
logo
- public DecorationModel clone()
public boolean equals(Object other)
public Banner getBannerLeft()
public Banner getBannerRight()
public Body getBody()
public Object getCustom()
public String getGoogleAnalyticsAccountId()
public long getLastModified()
public String getModelEncoding()
public String getName()
public PublishDate getPublishDate()
public Skin getSkin()
public Version getVersion()
public void removePoweredBy(Logo logo)
logo
- public void setBannerLeft(Banner bannerLeft)
bannerLeft
- public void setBannerRight(Banner bannerRight)
bannerRight
- public void setBody(Body body)
body
- public void setCustom(Object custom)
custom
- public void setGoogleAnalyticsAccountId(String googleAnalyticsAccountId)
googleAnalyticsAccountId
- public void setLastModified(long lastModified)
lastModified
- public void setModelEncoding(String modelEncoding)
modelEncoding
- public void setName(String name)
name
- public void setPoweredBy(List<Logo> poweredBy)
poweredBy
- public void setPublishDate(PublishDate publishDate)
publishDate
- public void setSkin(Skin skin)
skin
- public void setVersion(Version version)
version
- public String toString()
public Menu getMenuRef(String key)
key
- not nullpublic void removeMenuRef(String key)
key
- not nullCopyright © 2005-2013 Apache Software Foundation. All Rights Reserved.