public final class DoNothingStylesheetCache extends java.lang.Object implements StylesheetCache
StylesheetCache that actually doesn't cache anything
at all. This might be useful during development when you don't want caching at all.| 构造器和说明 |
|---|
DoNothingStylesheetCache() |
| 限定符和类型 | 方法和说明 |
|---|---|
javax.xml.transform.Templates |
getStylesheet(java.lang.String key)
Tries to retrieve an XSLT stylesheet from the cache having the given key.
|
void |
putStylesheet(java.lang.String key,
javax.xml.transform.Templates stylesheet)
Instructs the cache that it might want to store the given XSLT stylesheet corresponding
to the given key.
|
public javax.xml.transform.Templates getStylesheet(java.lang.String key)
StylesheetCache
Return a previously cached Templates or null if your cache doesn't want to cache
this or if it does not contain the required result.
getStylesheet 在接口中 StylesheetCachepublic void putStylesheet(java.lang.String key,
javax.xml.transform.Templates stylesheet)
StylesheetCacheImplementations can safely choose to do absolutely nothing here if they want.
putStylesheet 在接口中 StylesheetCache