org.apache.maven.doxia.site.decoration
Class PublishDate

java.lang.Object
  extended by org.apache.maven.doxia.site.decoration.PublishDate
All Implemented Interfaces:
Serializable, Cloneable

public class PublishDate
extends Object
implements Serializable, Cloneable

Modify display properties for date published.

Version:
$Revision$ $Date$
See Also:
Serialized Form

Constructor Summary
PublishDate()
           
 
Method Summary
 PublishDate clone()
          Method clone.
 boolean equals(Object other)
          Method equals.
 String getFormat()
          Get date format to use.
 String getPosition()
          Get where to place the date published (left, right, navigation-top, navigation-bottom, bottom).
 int hashCode()
          Method hashCode.
 void setFormat(String format)
          Set date format to use.
 void setPosition(String position)
          Set where to place the date published (left, right, navigation-top, navigation-bottom, bottom).
 String toString()
          Method toString.
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PublishDate

public PublishDate()
Method Detail

clone

public PublishDate clone()
Method clone.

Overrides:
clone in class Object
Returns:
PublishDate

equals

public boolean equals(Object other)
Method equals.

Overrides:
equals in class Object
Parameters:
other -
Returns:
boolean

getFormat

public String getFormat()
Get date format to use. The default is ISO-8601 yyyy-MM-dd.

Returns:
String

getPosition

public String getPosition()
Get where to place the date published (left, right, navigation-top, navigation-bottom, bottom).

Returns:
String

hashCode

public int hashCode()
Method hashCode.

Overrides:
hashCode in class Object
Returns:
int

setFormat

public void setFormat(String format)
Set date format to use. The default is ISO-8601 yyyy-MM-dd.

Parameters:
format -

setPosition

public void setPosition(String position)
Set where to place the date published (left, right, navigation-top, navigation-bottom, bottom).

Parameters:
position -

toString

public String toString()
Method toString.

Overrides:
toString in class Object
Returns:
String


Copyright © 2005-2012 The Apache Software Foundation. All Rights Reserved.