All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface XSA.ChangeListener

public interface ChangeListener
This interface must be implemented by classes that wish to listen to XSA change notifications. Currently only used by DefaultClient.


Method Index

 o done()
Called to inform the listener that checking is now complete.
 o error(String, String)
Called whenever an error is detected.
 o productNameChanged(Vendor, Product, String)
Called to inform the listener that a product has changed name.
 o productNewVersion(Vendor, Product, Product)
Called to inform the listener that a new version of a product has been announced.
 o productURLChanged(Vendor, Product, String)
Called to informn the listener that a product information URL has changed.
 o vendorDocumentMoved(Vendor, String)
Called to inform the listener that a vendor XSA document has moved.
 o vendorEmailChanged(Vendor, String)
Called to inform the listener that a vendor has changed email address.
 o vendorNameChanged(Vendor, String)
Called to inform the listener that a vendor has changed name.
 o vendorNewProduct(Vendor, Product)
Called to inform the listener that a vendor has a new product.
 o vendorProductMissing(Vendor, Product)
Called to inform the listener that a vendor no longer seems to offer a product.
 o vendorURLChanged(Vendor, String)
Called to inform the listener that a vendor has changed home page address.

Methods

 o error
 public abstract void error(String url,
                            String msg)
Called whenever an error is detected.

Parameters:
url - The URL that was being checked when the error was detected.
msg - The error message.
 o vendorNameChanged
 public abstract void vendorNameChanged(Vendor oldVendor,
                                        String newName)
Called to inform the listener that a vendor has changed name.

 o vendorEmailChanged
 public abstract void vendorEmailChanged(Vendor oldVendor,
                                         String newEmail)
Called to inform the listener that a vendor has changed email address.

 o vendorURLChanged
 public abstract void vendorURLChanged(Vendor oldVendor,
                                       String newURL)
Called to inform the listener that a vendor has changed home page address.

 o vendorNewProduct
 public abstract void vendorNewProduct(Vendor vendor,
                                       Product product)
Called to inform the listener that a vendor has a new product.

 o vendorDocumentMoved
 public abstract void vendorDocumentMoved(Vendor vendor,
                                          String newURL)
Called to inform the listener that a vendor XSA document has moved.

 o vendorProductMissing
 public abstract void vendorProductMissing(Vendor vendor,
                                           Product product)
Called to inform the listener that a vendor no longer seems to offer a product.

 o productNameChanged
 public abstract void productNameChanged(Vendor oldvendor,
                                         Product oldprod,
                                         String newName)
Called to inform the listener that a product has changed name.

 o productNewVersion
 public abstract void productNewVersion(Vendor oldvendor,
                                        Product oldprod,
                                        Product newprod)
Called to inform the listener that a new version of a product has been announced.

 o productURLChanged
 public abstract void productURLChanged(Vendor oldvendor,
                                        Product oldprod,
                                        String newURL)
Called to informn the listener that a product information URL has changed.

 o done
 public abstract void done()
Called to inform the listener that checking is now complete.


All Packages  Class Hierarchy  This Package  Previous  Next  Index