diff options
author | Keiron Liddle <keiron@apache.org> | 2002-12-19 08:13:18 +0000 |
---|---|---|
committer | Keiron Liddle <keiron@apache.org> | 2002-12-19 08:13:18 +0000 |
commit | a13b06cc9c51ca784bf4fcb35981a684764e40e2 (patch) | |
tree | c39e78d268ed7c6135869e347c347a944385618e | |
parent | 585db601f32eedc7a0bd65a435c4532e63417ab2 (diff) | |
download | xmlgraphics-fop-a13b06cc9c51ca784bf4fcb35981a684764e40e2.tar.gz xmlgraphics-fop-a13b06cc9c51ca784bf4fcb35981a684764e40e2.zip |
add method to remove context
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@195782 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | src/org/apache/fop/image/ImageFactory.java | 9 |
1 files changed, 9 insertions, 0 deletions
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 @@ -108,6 +108,15 @@ public class ImageFactory { } /** + * 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 * @return a new FopImage object |