/** * (non-Javadoc) * * @deprecated * @see * org.eclipse.birt.report.engine.api2.IHTMLImageHandler#onURLImage(org.eclipse.birt.report.engine.api2.IImage, * java.lang.Object) */ public String onURLImage(IImage image, Object context) { assert (image != null); String uri = image.getID(); if (uri.startsWith("http:") || uri.startsWith("https:")) { return uri; } return handleImage(image, context, "uri", true); // $NON-NLS-1$ }
/** * returns the unique identifier for the image * * @param image the image object * @return the image id */ protected String getImageMapID(IImage image) { if (image.getReportRunnable() != null) { return image.getReportRunnable().hashCode() + image.getID(); } return image.getID(); }