Package org.mycore.common.xsl
Class MCRTemplatesCompiler
java.lang.Object
org.mycore.common.xsl.MCRTemplatesCompiler
Compiles XSL sources, reports compile errors and returns transformer
instances for compiled templates.
- Author:
- Frank Lützenkirchen
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Templates
Compiles the given XSL source codestatic Transformer
getTransformer
(Templates templates) Returns a new transformer for the compiled XSL templates
-
Constructor Details
-
MCRTemplatesCompiler
public MCRTemplatesCompiler()
-
-
Method Details
-
compileTemplates
Compiles the given XSL source code -
getTransformer
public static Transformer getTransformer(Templates templates) throws TransformerConfigurationException Returns a new transformer for the compiled XSL templates
-