Class Image

java.lang.Object
org.apache.maven.doxia.site.Image
All Implemented Interfaces:
Serializable, Cloneable

public class Image extends Object implements Serializable, Cloneable
An image.
Version:
$Revision$ $Date$
See Also:
  • Constructor Details

    • Image

      public Image()
  • Method Details

    • clone

      public Image clone()
      Method clone.
      Overrides:
      clone in class Object
      Returns:
      Image
    • equals

      public boolean equals(Object other)
      Method equals.
      Overrides:
      equals in class Object
      Parameters:
      other - a other object.
      Returns:
      boolean
    • getAlt

      public String getAlt()
      Get the alternative text to use.
      Returns:
      String
    • getHeight

      public String getHeight()
      Get the height to use.
      Returns:
      String
    • getPosition

      public String getPosition()
      Get where to place the image relative to the displayed name (left or right).
      Returns:
      String
    • getSrc

      public String getSrc()
      Get the source location.
      Returns:
      String
    • getStyle

      public String getStyle()
      Get the style to use.
      Returns:
      String
    • getWidth

      public String getWidth()
      Get the width to use.
      Returns:
      String
    • hashCode

      public int hashCode()
      Method hashCode.
      Overrides:
      hashCode in class Object
      Returns:
      int
    • setAlt

      public void setAlt(String alt)
      Set the alternative text to use.
      Parameters:
      alt - a alt object.
    • setHeight

      public void setHeight(String height)
      Set the height to use.
      Parameters:
      height - a height object.
    • setPosition

      public void setPosition(String position)
      Set where to place the image relative to the displayed name (left or right).
      Parameters:
      position - a position object.
    • setSrc

      public void setSrc(String src)
      Set the source location.
      Parameters:
      src - a src object.
    • setStyle

      public void setStyle(String style)
      Set the style to use.
      Parameters:
      style - a style object.
    • setWidth

      public void setWidth(String width)
      Set the width to use.
      Parameters:
      width - a width object.
    • toString

      public String toString()
      Method toString.
      Overrides:
      toString in class Object
      Returns:
      String