org.jboss.maven.plugins.jdocbook.gen.xslt
Class TransformerFactory

java.lang.Object
  extended by org.jboss.maven.plugins.jdocbook.gen.xslt.TransformerFactory

public class TransformerFactory
extends java.lang.Object

A factory for Transformer instances, configurable to return either SAXON or XALAN based transformers.

Author:
Steve Ebersole

Constructor Summary
TransformerFactory(TransformerType transformerType, java.util.Properties transformerParameters, org.apache.xml.resolver.tools.CatalogResolver catalogResolver, java.lang.String docbookVersion)
           
 
Method Summary
 javax.xml.transform.Transformer buildTransformer(Formatting formatting, java.net.URL customStylesheet)
           
 javax.xml.transform.URIResolver buildUriResolver(StandardDocBookFormatSpecification formatType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransformerFactory

public TransformerFactory(TransformerType transformerType,
                          java.util.Properties transformerParameters,
                          org.apache.xml.resolver.tools.CatalogResolver catalogResolver,
                          java.lang.String docbookVersion)
Method Detail

buildTransformer

public javax.xml.transform.Transformer buildTransformer(Formatting formatting,
                                                        java.net.URL customStylesheet)
                                                 throws XSLTException
Throws:
XSLTException

buildUriResolver

public javax.xml.transform.URIResolver buildUriResolver(StandardDocBookFormatSpecification formatType)
                                                 throws XSLTException
Throws:
XSLTException


Copyright © 2007 JBoss, a division of Red Hat, Inc. All Rights Reserved.