public class StylesheetCache extends Object
Date: 06 JAN 03 Time: 1617 Author: JD NEUSHUL Comments: Initial Date: 08 DEC 2005 Time: 2216 Author: Terry Norbraten, NPS MOVES Comments: Incorporated generic conventions for JDK 1.5.
Modifier and Type | Method and Description |
---|---|
static void |
flush(String xsltFileName)
Flush a specific cached stylesheet from memory.
|
static void |
flushAll()
Flush all cached stylesheets from
memory, emptying the cache.
|
static Transformer |
newTransformer(String xsltFileName)
Obtain a new Transformer instance for the specified XSLT file name.
|
public static void flushAll()
public static void flush(String xsltFileName)
xsltFileName
- the file name of
the stylesheet to remove.public static Transformer newTransformer(String xsltFileName) throws TransformerConfigurationException
xsltFileName
- the file name of an XSLT stylesheetTransformerConfigurationException