public class StylesheetCache
extends java.lang.Object
| Constructor and Description | 
|---|
| StylesheetCache() | 
| Modifier and Type | Method and Description | 
|---|---|
| XsltExecutable | getStylesheetByLocation(java.lang.String style)Get the stylesheet (XsltExecutable) in the cache associated with the supplied stylesheet location string. | 
| XsltExecutable | getStylesheetByNode(NodeInfo style)Get the stylesheet (XsltExecutable) in the cache associated with the supplied stylesheet node. | 
| XsltExecutable | getStylesheetByText(java.lang.String style)Get the stylesheet (XsltExecutable) in the cache associated with the supplied stylesheet text string. | 
| void | setStylesheetByLocation(java.lang.String style,
                       XsltExecutable xsltExecutable)Set a key-value pair in the cache for stylesheets referenced by stylesheet location. | 
| void | setStylesheetByNode(NodeInfo style,
                   XsltExecutable xsltExecutable)Set a key-value pair in the cache for stylesheets referenced by stylesheet root node. | 
| void | setStylesheetByText(java.lang.String style,
                   XsltExecutable xsltExecutable)Set a key-value pair in the cache for stylesheets referenced by stylesheet text. | 
public XsltExecutable getStylesheetByText(java.lang.String style)
style - the stylesheet text as a string (as supplied in the stylesheet-text option of fn:transform())public XsltExecutable getStylesheetByLocation(java.lang.String style)
style - the URI for the stylesheet location (as supplied in the stylesheet-location option of fn:transform())public XsltExecutable getStylesheetByNode(NodeInfo style)
style - the root node of the stylesheet (as supplied in the stylesheet-node option of fn:transform())public void setStylesheetByText(java.lang.String style,
                                XsltExecutable xsltExecutable)
style - the stylesheet text as a string (as supplied in the stylesheet-text option of fn:transform())xsltExecutable - the compiled stylesheetpublic void setStylesheetByLocation(java.lang.String style,
                                    XsltExecutable xsltExecutable)
style - the URI for the stylesheet location (as supplied in the stylesheet-location option of fn:transform())xsltExecutable - the compiled stylesheetpublic void setStylesheetByNode(NodeInfo style, XsltExecutable xsltExecutable)
style - the root node of the stylesheet (as supplied in the stylesheet-node option of fn:transform())xsltExecutable - the compiled stylesheetCopyright (c) 2004-2018 Saxonica Limited. All rights reserved.