keiron 2002/12/19 00:13:18
Modified: src/org/apache/fop/image ImageFactory.java
Log:
add method to remove context
Revision Changes Path
1.12 +10 -1 xml-fop/src/org/apache/fop/image/ImageFactory.java
Index: ImageFactory.java
===================================================================
RCS file: /home/cvs/xml-fop/src/org/apache/fop/image/ImageFactory.java,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- ImageFactory.java 29 Nov 2002 23:18:55 -0000 1.11
+++ ImageFactory.java 19 Dec 2002 08:13:18 -0000 1.12
@@ -108,6 +108,15 @@
}
/**
+ * 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
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]