HATS 7.5.1 Web API Reference

Publicly accessible methods not documented here are for IBM internal use only and may change in a future release of the product.

com.ibm.hats.transform.html
Class LinkedImageElement

java.lang.Object
  extended by com.ibm.hats.transform.html.HTMLElement
      extended by com.ibm.hats.transform.html.ImageElement
          extended by com.ibm.hats.transform.html.LinkedImageElement

public class LinkedImageElement
extends ImageElement


Field Summary
static String CLASSNAME
           
protected static String COPYRIGHT
          The HsrCopyright.COPYRIGHT field will be updated each release, thereby "magically" updating this class file.
 
Fields inherited from class com.ibm.hats.transform.html.HTMLElement
ATTR_ACCESS_KEY, ATTR_ACTION, ATTR_ALT, ATTR_CLASS_NAME, ATTR_DIR, ATTR_FOR, ATTR_HREF, ATTR_ID, ATTR_IMG_ALT, ATTR_MAX_LENGTH, ATTR_NAME, ATTR_ON_BLUR, ATTR_ON_CHANGE, ATTR_ON_CLICK, ATTR_ON_CUT, ATTR_ON_DROP, ATTR_ON_FOCUS, ATTR_ON_KEY_DOWN, ATTR_ON_KEY_PRESS, ATTR_ON_KEY_UP, ATTR_ON_MOUSEDOWN, ATTR_ON_MOUSEOVER, ATTR_ON_PASTE, ATTR_SIZE, ATTR_SRC, ATTR_STYLE, ATTR_TARGET, ATTR_TYPE, ATTR_VALUE, FLAG_CHECKED, FLAG_DISABLED, FLAG_MULTIPLE, FLAG_READ_ONLY, FLAG_SELECTED, tagName
 
Constructor Summary
LinkedImageElement()
          Class constructor which creates sets the tag name to span and instantiate an internal ImageElement.
 
Method Summary
 String getAlt()
          Gets the alternate text for the image to be displayed.
 String getOnClick()
          Returns the onClick attribute of this HTMLElement.
 String getOnMouseover()
          Gets the onMouseOver
 String getSrc()
          Gets the source URL for the image to be displayed.
 void render(StringBuffer buffer)
          Append this HTMLElement to the specified StringBuffer.
 void renderEndTag(StringBuffer buffer)
          Does nothing.
 void setAlt(String alt)
          Sets the alternate text for the image to be displayed.
 void setOnClick(String action)
          Sets the onClick attribute of this HTMLElement.
 void setOnMouseover(String action)
          Sets the onMouseOver
 void setSrc(String src)
          Sets the source URL for the image to be displayed.
 
Methods inherited from class com.ibm.hats.transform.html.HTMLElement
addFlag, appendClassName, appendStyle, buildTag, buildTag, getAttribute, getClassName, getDir, getId, getName, getStyle, getTagName, hasFlag, removeFlag, render, render, render, renderEndTag, setAlign, setAttribute, setClassName, setDir, setId, setName, setStyle, setTagName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COPYRIGHT

protected static final String COPYRIGHT
The HsrCopyright.COPYRIGHT field will be updated each release, thereby "magically" updating this class file.

See Also:
Constant Field Values

CLASSNAME

public static final String CLASSNAME
See Also:
Constant Field Values
Constructor Detail

LinkedImageElement

public LinkedImageElement()
Class constructor which creates sets the tag name to span and instantiate an internal ImageElement.

Method Detail

render

public void render(StringBuffer buffer)
Description copied from class: HTMLElement
Append this HTMLElement to the specified StringBuffer. The element is not closed.

Overrides:
render in class HTMLElement

renderEndTag

public void renderEndTag(StringBuffer buffer)
Description copied from class: ImageElement
Does nothing. This method is overridden because images do not require a closing tag.

Overrides:
renderEndTag in class ImageElement

setSrc

public void setSrc(String src)
Description copied from class: ImageElement
Sets the source URL for the image to be displayed.

Overrides:
setSrc in class ImageElement

getSrc

public String getSrc()
Description copied from class: ImageElement
Gets the source URL for the image to be displayed.

Overrides:
getSrc in class ImageElement
Returns:
String

setOnClick

public void setOnClick(String action)
Description copied from class: ImageElement
Sets the onClick attribute of this HTMLElement.

Overrides:
setOnClick in class ImageElement
Parameters:
action - the onClick

getOnClick

public String getOnClick()
Description copied from class: ImageElement
Returns the onClick attribute of this HTMLElement.

Overrides:
getOnClick in class ImageElement
Returns:
String

setOnMouseover

public void setOnMouseover(String action)
Description copied from class: ImageElement
Sets the onMouseOver
Overrides:
setOnMouseover in class ImageElement
Parameters:
action - the onMouseOver

getOnMouseover

public String getOnMouseover()
Description copied from class: ImageElement
Gets the onMouseOver
Overrides:
getOnMouseover in class ImageElement
Returns:
String

setAlt

public void setAlt(String alt)
Description copied from class: ImageElement
Sets the alternate text for the image to be displayed.

Overrides:
setAlt in class ImageElement

getAlt

public String getAlt()
Description copied from class: ImageElement
Gets the alternate text for the image to be displayed.

Overrides:
getAlt in class ImageElement
Returns:
String

HATS 7.5.1 (201005110649)