com.xmlserv.main
Class StylesheetCache

java.lang.Object
  |
  +--com.xmlserv.main.StylesheetCache

public class StylesheetCache
extends java.lang.Object

This class implements a transparent stylesheet cache and is used to access stylesheets. The actual storage mechanism for stylesheets is delegated to an implementation of the interface StylesheetRepository.

Version:
$Id: StylesheetCache.java,v 1.2 2002/05/20 16:34:07 muecke Exp $
Author:
Wolfram Saringer
See Also:
StylesheetRepository

Constructor Summary
StylesheetCache(StylesheetRepository repository)
           
 
Method Summary
 void flushCache()
          Flush cache, removing all entries.
 javax.xml.transform.Transformer getStylesheet(java.lang.String identifier)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StylesheetCache

public StylesheetCache(StylesheetRepository repository)
Method Detail

getStylesheet

public javax.xml.transform.Transformer getStylesheet(java.lang.String identifier)
                                              throws java.io.IOException

flushCache

public void flushCache()
Flush cache, removing all entries.