version 1.0

com.actimind.actiwate.testing.html.objects
Interface Link

All Superinterfaces:
BaseElement, ClickableElement, com.actimind.actiwate.testing.logging.Loggable

public interface Link
extends ClickableElement

Represents HTML link element.


Method Summary
 java.lang.String href()
          Returns href attribute value for this link.
 Image innerImage()
          Returns image contained within this link.
 java.lang.String text()
          Returns text within link tag.
 
Methods inherited from interface com.actimind.actiwate.testing.html.objects.BaseElement
element, id
 
Methods inherited from interface com.actimind.actiwate.testing.logging.Loggable
getLogDesc
 

Method Detail

href

public java.lang.String href()
Returns href attribute value for this link.

Returns:
href attribute value for this link.

text

public java.lang.String text()
Returns text within link tag.

Returns:
text within link tag.

innerImage

public Image innerImage()
                 throws LookupException
Returns image contained within this link. If this link contains more than one image only the first one will be returned.

Returns:
first image contained within this link.
Throws:
LookupException - if image was not found.


Copyright © 2007 Actimind, Inc. All Rights Reserved.