All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface Acme.HtmlEditObserver

public interface HtmlEditObserver
Callback interface for HtmlEditScanner.

Clients of HtmlEditScanner implement this in order to get URLs passed back to them.

Fetch the software.
Fetch the entire Acme package.

See Also:
HtmlEditScanner

Method Index

 o editAHREF(String, URL, Object)
This gets called when the scanner finds an <A HREF=""> URL.
 o editAREAHREF(String, URL, Object)
This gets called when the scanner finds a <AREA HREF=""> URL.
 o editBASEHREF(String, URL, Object)
This gets called when the scanner finds a <BASE HREF=""> URL.
 o editBODYBACKGROUND(String, URL, Object)
This gets called when the scanner finds a <BODY BACKGROUND=""> URL.
 o editFRAMESRC(String, URL, Object)
This gets called when the scanner finds an <FRAME SRC=""> URL.
 o editIMGSRC(String, URL, Object)
This gets called when the scanner finds an <IMG SRC=""> URL.
 o editLINKHREF(String, URL, Object)
This gets called when the scanner finds a <LINK HREF=""> URL.

Methods

 o editAHREF
 public abstract String editAHREF(String urlStr,
                                  URL contextUrl,
                                  Object clientData)
This gets called when the scanner finds an <A HREF=""> URL. If you want to change the URL in the stream you can return a new string; otherwise you should return null.

 o editIMGSRC
 public abstract String editIMGSRC(String urlStr,
                                   URL contextUrl,
                                   Object clientData)
This gets called when the scanner finds an <IMG SRC=""> URL. If you want to change the URL in the stream you can return a new string; otherwise you should return null.

 o editFRAMESRC
 public abstract String editFRAMESRC(String urlStr,
                                     URL contextUrl,
                                     Object clientData)
This gets called when the scanner finds an <FRAME SRC=""> URL. If you want to change the URL in the stream you can return a new string; otherwise you should return null.

 o editBASEHREF
 public abstract String editBASEHREF(String urlStr,
                                     URL contextUrl,
                                     Object clientData)
This gets called when the scanner finds a <BASE HREF=""> URL. If you want to change the URL in the stream you can return a new string; otherwise you should return null.

 o editAREAHREF
 public abstract String editAREAHREF(String urlStr,
                                     URL contextUrl,
                                     Object clientData)
This gets called when the scanner finds a <AREA HREF=""> URL. If you want to change the URL in the stream you can return a new string; otherwise you should return null.

 o editLINKHREF
 public abstract String editLINKHREF(String urlStr,
                                     URL contextUrl,
                                     Object clientData)
This gets called when the scanner finds a <LINK HREF=""> URL. If you want to change the URL in the stream you can return a new string; otherwise you should return null.

 o editBODYBACKGROUND
 public abstract String editBODYBACKGROUND(String urlStr,
                                           URL contextUrl,
                                           Object clientData)
This gets called when the scanner finds a <BODY BACKGROUND=""> URL. If you want to change the URL in the stream you can return a new string; otherwise you should return null.


All Packages  Class Hierarchy  This Package  Previous  Next  Index

ACME Java  ACME Labs