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.
-
done()
- Called to inform the listener that checking is now complete.
-
error(String, String)
- Called whenever an error is detected.
-
productNameChanged(Vendor, Product, String)
- Called to inform the listener that a product has changed name.
-
productNewVersion(Vendor, Product, Product)
- Called to inform the listener that a new version of a product has
been announced.
-
productURLChanged(Vendor, Product, String)
- Called to informn the listener that a product information URL has
changed.
-
vendorDocumentMoved(Vendor, String)
- Called to inform the listener that a vendor XSA document has moved.
-
vendorEmailChanged(Vendor, String)
- Called to inform the listener that a vendor has changed email address.
-
vendorNameChanged(Vendor, String)
- Called to inform the listener that a vendor has changed name.
-
vendorNewProduct(Vendor, Product)
- Called to inform the listener that a vendor has a new product.
-
vendorProductMissing(Vendor, Product)
- Called to inform the listener that a vendor no longer seems to offer
a product.
-
vendorURLChanged(Vendor, String)
- Called to inform the listener that a vendor has changed home page address.
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.
vendorNameChanged
public abstract void vendorNameChanged(Vendor oldVendor,
String newName)
- Called to inform the listener that a vendor has changed name.
vendorEmailChanged
public abstract void vendorEmailChanged(Vendor oldVendor,
String newEmail)
- Called to inform the listener that a vendor has changed email address.
vendorURLChanged
public abstract void vendorURLChanged(Vendor oldVendor,
String newURL)
- Called to inform the listener that a vendor has changed home page address.
vendorNewProduct
public abstract void vendorNewProduct(Vendor vendor,
Product product)
- Called to inform the listener that a vendor has a new product.
vendorDocumentMoved
public abstract void vendorDocumentMoved(Vendor vendor,
String newURL)
- Called to inform the listener that a vendor XSA document has moved.
vendorProductMissing
public abstract void vendorProductMissing(Vendor vendor,
Product product)
- Called to inform the listener that a vendor no longer seems to offer
a product.
productNameChanged
public abstract void productNameChanged(Vendor oldvendor,
Product oldprod,
String newName)
- Called to inform the listener that a product has changed name.
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.
productURLChanged
public abstract void productURLChanged(Vendor oldvendor,
Product oldprod,
String newURL)
- Called to informn the listener that a product information URL has
changed.
done
public abstract void done()
- Called to inform the listener that checking is now complete.
All Packages Class Hierarchy This Package Previous Next Index