Package org.apache.maven.doxia.site
Class Version
- java.lang.Object
-
- org.apache.maven.doxia.site.Version
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable
public class Version extends java.lang.Object implements java.io.Serializable, java.lang.CloneableModify display properties for version published.- Version:
- $Revision$ $Date$
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Version()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Versionclone()Method clone.booleanequals(java.lang.Object other)Method equals.java.lang.StringgetPosition()Get where to place the version published ("left", "right", "navigation-top", "navigation-bottom", "bottom" or "none" to hide it).inthashCode()Method hashCode.voidsetPosition(java.lang.String position)Set where to place the version published ("left", "right", "navigation-top", "navigation-bottom", "bottom" or "none" to hide it).java.lang.StringtoString()Method toString.
-
-
-
Method Detail
-
clone
public Version clone()
Method clone.- Overrides:
clonein classjava.lang.Object- Returns:
- Version
-
equals
public boolean equals(java.lang.Object other)
Method equals.- Overrides:
equalsin classjava.lang.Object- Parameters:
other- a other object.- Returns:
- boolean
-
getPosition
public java.lang.String getPosition()
Get where to place the version published ("left", "right", "navigation-top", "navigation-bottom", "bottom" or "none" to hide it).- Returns:
- String
-
hashCode
public int hashCode()
Method hashCode.- Overrides:
hashCodein classjava.lang.Object- Returns:
- int
-
setPosition
public void setPosition(java.lang.String position)
Set where to place the version published ("left", "right", "navigation-top", "navigation-bottom", "bottom" or "none" to hide it).- Parameters:
position- a position object.
-
toString
public java.lang.String toString()
Method toString.- Overrides:
toStringin classjava.lang.Object- Returns:
- String
-
-