public class StylesheetCache extends Object
| 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(File xsltFile)
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(File xsltFile) throws TransformerConfigurationException
xsltFile - the file name
of an XSLT stylesheet.TransformerConfigurationException - if any.Copyright © 2017 iTransformers Labs. All rights reserved.