// Clients of HtmlEditScanner implement this in order to get URLs passed back // to them. //
// Fetch the software.
// Fetch the entire Acme package.
//
// @see HtmlEditScanner public interface HtmlEditObserver { /// 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. public String editAHREF( 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. public String editIMGSRC( 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. public String editFRAMESRC( 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. public String editBASEHREF( 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. public String editAREAHREF( 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. public String editLINKHREF( 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. public String editBODYBACKGROUND( String urlStr, URL contextUrl, Object clientData ); }