fr.opensagres.xdocreport.converter.internal.xslt
Class XSLTemplatesRegistry

java.lang.Object
  extended by fr.opensagres.xdocreport.converter.internal.xslt.XSLTemplatesRegistry

public class XSLTemplatesRegistry
extends Object

XSLT Templates registry which is used to compute XSLT and cache it.


Method Summary
static XSLTemplatesRegistry getRegistry()
           
 Templates getTemplates(String uri)
           
 ITransformerFactory getTransformerFactory()
           
 Templates loadTemplates(String uri, InputStream stream, URIResolver resolver)
           
 Templates loadTemplates(String uri, Reader reader, URIResolver resolver)
           
 Templates loadTemplates(String uri, Source source, URIResolver resolver)
           
 void registerTemplates(String uri, Templates templates)
           
 void setTransformerFactory(ITransformerFactory transformerFactory)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getRegistry

public static XSLTemplatesRegistry getRegistry()

getTemplates

public Templates getTemplates(String uri)

loadTemplates

public Templates loadTemplates(String uri,
                               Reader reader,
                               URIResolver resolver)
                        throws TransformerConfigurationException
Throws:
TransformerConfigurationException

loadTemplates

public Templates loadTemplates(String uri,
                               InputStream stream,
                               URIResolver resolver)
                        throws TransformerConfigurationException
Throws:
TransformerConfigurationException

loadTemplates

public Templates loadTemplates(String uri,
                               Source source,
                               URIResolver resolver)
                        throws TransformerConfigurationException
Throws:
TransformerConfigurationException

setTransformerFactory

public void setTransformerFactory(ITransformerFactory transformerFactory)

getTransformerFactory

public ITransformerFactory getTransformerFactory()

registerTemplates

public void registerTemplates(String uri,
                              Templates templates)


Copyright © 2013. All rights reserved.