All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface XSA.XSAClient

public interface XSAClient
This interface must be implemented by all XSA clients.


Method Index

 o checkedVendor(Vendor)
Notifies the client that an XSA document has been checked.
 o checkingDone()
Notifies the client that no more documents will be checked.
 o checkingStarts()
Notifies the client that XSA checking is about to begin.
 o documentMoved(String, String)
Notifies the client that an XSA document has been moved.
 o error(String, String)
Notifies the client of an error that occurred while checking the given URL.

Methods

 o checkingStarts
 public abstract void checkingStarts()
Notifies the client that XSA checking is about to begin. This method is always called before error or checkedDocument are called.

 o error
 public abstract void error(String url,
                            String message)
Notifies the client of an error that occurred while checking the given URL. This method should be synchronized, in case the XSA engine is multithreaded.

Parameters:
url - The URL of the XSA document the engine was checking when the error occurred.
message - A textual error message describing the error.
 o checkedVendor
 public abstract void checkedVendor(Vendor vendor)
Notifies the client that an XSA document has been checked. This method should be synchronized, in case the XSA engine is multithreaded.

Parameters:
vendor - A Vendor object containing the information in the XSA document.
See Also:
Vendor
 o checkingDone
 public abstract void checkingDone()
Notifies the client that no more documents will be checked. This method is always the last to be called.

 o documentMoved
 public abstract void documentMoved(String oldUrl,
                                    String newUrl)
Notifies the client that an XSA document has been moved. This method is called when the XSA engine receives an HTTP redirect when trying to access a document.


All Packages  Class Hierarchy  This Package  Previous  Next  Index