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

java.lang.Object
  extended byorg.apache.maven.doxia.site.decoration.PublishDate
All Implemented Interfaces:
java.io.Serializable

public class PublishDate
extends java.lang.Object
implements java.io.Serializable

Modify display properties for date published.

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

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

Constructor Detail

PublishDate

public PublishDate()
Method Detail

equals

public boolean equals(java.lang.Object other)
Method equals.

Parameters:
other -
Returns:
boolean

getFormat

public java.lang.String getFormat()
Get Date format to use. The default is MM/dd/yyyy.

Returns:
String

getPosition

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

Returns:
String

hashCode

public int hashCode()
Method hashCode.

Returns:
int

setFormat

public void setFormat(java.lang.String format)
Set Date format to use. The default is MM/dd/yyyy.

Parameters:
format -

setPosition

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

Parameters:
position -

toString

public java.lang.String toString()
Method toString.

Returns:
String


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