dk.brics.xact.operations
Class TemplateCache

java.lang.Object
  extended by dk.brics.xact.operations.TemplateCache

public class TemplateCache
extends Object

Cache for parsed templates.


Method Summary
static void clear()
          Clears the cache.
static XML get(Object key)
          Loads a parsed template from the cache.
static void put(Object key, XML value)
          Stores a parsed template in the cache.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

clear

public static void clear()
Clears the cache.


get

public static XML get(Object key)
Loads a parsed template from the cache. Returns null if not found.


put

public static void put(Object key,
                       XML value)
Stores a parsed template in the cache.



Copyright © 2005-2011 Aarhus University.