All Packages Class Hierarchy This Package Previous Next Index
Interface XSA.XSAClient
- public interface XSAClient
This interface must be implemented by all XSA clients.
-
checkedVendor(Vendor)
- Notifies the client that an XSA document has been checked.
-
checkingDone()
- Notifies the client that no more documents will be checked.
-
checkingStarts()
- Notifies the client that XSA checking is about to begin.
-
documentMoved(String, String)
- Notifies the client that an XSA document has been moved.
-
error(String, String)
- Notifies the client of an error that occurred while checking the
given URL.
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.
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.
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
checkingDone
public abstract void checkingDone()
- Notifies the client that no more documents will be checked. This method
is always the last to be called.
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