public class XMLHandlerCache extends Object
| Modifier and Type | Field and Description | 
|---|---|
static int | 
MAX_NUMBER_OF_ENTRIES  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
clear()
Clears the cache 
 | 
int | 
getCacheHits()  | 
static XMLHandlerCache | 
getInstance()  | 
int | 
getLastChildNr(XMLHandlerCacheEntry entry)
Retrieve the last child were we left off... 
 | 
void | 
setCacheHits(int cacheHits)
Allows you to (re-)set the number of cache hits 
 | 
void | 
storeCache(XMLHandlerCacheEntry entry,
          int lastChildNr)
Store a cache entry 
 | 
public static final int MAX_NUMBER_OF_ENTRIES
public static final XMLHandlerCache getInstance()
public void storeCache(XMLHandlerCacheEntry entry, int lastChildNr)
entry - The cache entry to storepublic int getLastChildNr(XMLHandlerCacheEntry entry)
entry - The cache entry to look for.public int getCacheHits()
public void setCacheHits(int cacheHits)
cacheHits - the number of cache hits.public void clear()