|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.maven.doxia.site.decoration.DecorationModel
public class DecorationModel
The <project>
element is the root of
the site decoration descriptor.
The following table lists all of the possible child
elements.
Constructor Summary | |
---|---|
DecorationModel()
|
Method Summary | |
---|---|
void |
addPoweredBy(Logo logo)
Method addPoweredBy. |
boolean |
equals(java.lang.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. |
java.lang.Object |
getCustom()
Get custom configuration for use with customized Velocity templates. |
long |
getLastModified()
Get timestamp of the last modification of this decoration model. |
Menu |
getMenuRef(java.lang.String key)
|
java.util.List |
getMenus()
|
java.lang.String |
getModelEncoding()
Get the modelEncoding field. |
java.lang.String |
getName()
Get the full name of the project. |
java.util.List |
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(java.lang.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(java.lang.Object custom)
Set custom configuration for use with customized Velocity templates. |
void |
setLastModified(long lastModified)
Set timestamp of the last modification of this decoration model. |
void |
setModelEncoding(java.lang.String modelEncoding)
Set the modelEncoding field. |
void |
setName(java.lang.String name)
Set the full name of the project. |
void |
setPoweredBy(java.util.List 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. |
java.lang.String |
toString()
Method toString. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DecorationModel()
Method Detail |
---|
public void addPoweredBy(Logo logo)
logo
- public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
other
-
public Banner getBannerLeft()
public Banner getBannerRight()
public Body getBody()
public java.lang.Object getCustom()
public long getLastModified()
public java.lang.String getModelEncoding()
public java.lang.String getName()
public java.util.List getPoweredBy()
public PublishDate getPublishDate()
public Skin getSkin()
public Version getVersion()
public int hashCode()
hashCode
in class java.lang.Object
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(java.lang.Object custom)
custom
- public void setLastModified(long lastModified)
lastModified
- public void setModelEncoding(java.lang.String modelEncoding)
modelEncoding
- public void setName(java.lang.String name)
name
- public void setPoweredBy(java.util.List poweredBy)
poweredBy
- public void setPublishDate(PublishDate publishDate)
publishDate
- public void setSkin(Skin skin)
skin
- public void setVersion(Version version)
version
- public java.lang.String toString()
toString
in class java.lang.Object
public Menu getMenuRef(java.lang.String key)
key
- not null
public void removeMenuRef(java.lang.String key)
key
- not nullpublic java.util.List getMenus()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |