com.ibm.wbi.protocol.http.beans
Class LinkAnnotationEditor.LinkInfo

java.lang.Object
  |
  +--com.ibm.wbi.protocol.http.beans.LinkAnnotationEditor.LinkInfo
Enclosing class:
LinkAnnotationEditor

public class LinkAnnotationEditor.LinkInfo
extends java.lang.Object

A class for containing the relevant information for a particular link in an HTML document. Any of these fields may be changed by the implementor of editLink(LinkInfo).


Field Summary
 HtmlItem linkTag
          the actual link tag (<A HREF="..." ...>)
 java.lang.String linkText
          the highlighted link text for this link
 java.net.URL linkURL
          the URL that the link points to
 java.lang.String postLink
          text to be inserted after the link.
 java.lang.String preLink
          text to be inserted before the link.
 
Method Summary
 RequestEvent getRequestEvent()
          Access the RequestEvent associated with the document that is being editted.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

linkURL

public java.net.URL linkURL
the URL that the link points to

preLink

public java.lang.String preLink
text to be inserted before the link. This is null when editLink(LinkInfo) is called, but the implementer of the editLink(LinkInfo) class may insert text and markup here

linkTag

public HtmlItem linkTag
the actual link tag (<A HREF="..." ...>)

linkText

public java.lang.String linkText
the highlighted link text for this link

postLink

public java.lang.String postLink
text to be inserted after the link. This is null when editLink(LinkInfo) is called, but the implementer of the editLink(LinkInfo) class may insert text and markup here
Method Detail

getRequestEvent

public RequestEvent getRequestEvent()
Access the RequestEvent associated with the document that is being editted.
Returns:
the RequestEvent