Methods Summary |
---|
public void | addRasterImageConsumer(java.lang.String absoluteURI, RasterImageConsumer imageNode)In cases where the ImageLoader may update the images associated to a URI,
RasterImageConsumer interested in updates need to register their interest
throught this method.
|
public boolean | allowsRelativeURI()Determines whether this ImageLoader can handle relative uri's
|
public void | documentLoaded(DocumentNode doc)Some ImageLoader implementations may wish to wait until the end of the
Document load to start retrieving resources. This method notifies the
implementation that the associated DocumentNode completed loading
successfully.
|
public com.sun.perseus.j2d.RasterImage | getBrokenImage()Returns the image that should be used to represent an
image which could not be loaded.
|
public com.sun.perseus.j2d.RasterImage | getImageAndWait(java.lang.String uri)Requests the given image. This call blocks until an image is
returned.
|
public void | getImageLater(java.lang.String uri, RasterImageConsumer imageNode)Requests the given image. This call returns immediately and
the image is set on the input ImageNode when the
image becomes available.
|
public com.sun.perseus.j2d.RasterImage | getLoadingImage()Returns the image that should be used to represent
an image which is loading.
|
public void | needsURI(java.lang.String absoluteURI)Notifies the URILoader that the given uri will be needed.
|
public void | removeRasterImageConsumer(java.lang.String absoluteURI, RasterImageConsumer imageNode)In cases where the ImageLoader may update the images associated to a URI,
RasterImageConsumer interested in updates need to de-register their
interest throught this method.
|
public java.lang.String | resolveURI(java.lang.String uri, java.lang.String baseURI)Resolves the input relative and base URI into an absolute URI
which can be used in subsequent calls to needsURI, getImageAndWait
or getImageLater calls.
|