From a13b06cc9c51ca784bf4fcb35981a684764e40e2 Mon Sep 17 00:00:00 2001 From: Keiron Liddle Date: Thu, 19 Dec 2002 08:13:18 +0000 Subject: [PATCH] add method to remove context git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@195782 13f79535-47bb-0310-9956-ffa450edef68 --- src/org/apache/fop/image/ImageFactory.java | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/org/apache/fop/image/ImageFactory.java b/src/org/apache/fop/image/ImageFactory.java index 3ea3a8bc5..73fd6f749 100644 --- a/src/org/apache/fop/image/ImageFactory.java +++ b/src/org/apache/fop/image/ImageFactory.java @@ -107,6 +107,15 @@ public class ImageFactory { cache.releaseImage(url, context); } + /** + * Release the context and all images in the context. + * + * @param context the context to remove + */ + public void removeContext(FOUserAgent context) { + cache.removeContext(context); + } + /** * create an FopImage objects. * @param href image URL as a String -- 2.39.5