com.jclark.xsl.sax

Class OutputMethodHandlerImpl

Implemented Interfaces:
OutputMethodHandler

public class OutputMethodHandlerImpl
extends java.lang.Object
implements OutputMethodHandler

produces a DocumentHandler suitable for a given output method i.e text, XML, etc and destination

Fields inherited from interface com.jclark.xsl.sax.OutputMethodHandler

namespaceSeparator

Constructor Summary

OutputMethodHandlerImpl(XSLProcessor processor)

Method Summary

DocumentHandler
createDocumentHandler(String name, AttributeList atts)
obtain a DocumentHandler appropriate for the named output method and our destination
OutputMethodHandler
createOutputMethodHandler(String uri)
void
setDestination(Destination dest)

Constructor Details

OutputMethodHandlerImpl

public OutputMethodHandlerImpl(XSLProcessor processor)

Method Details

createDocumentHandler

public DocumentHandler createDocumentHandler(String name,
                                             AttributeList atts)
            throws SAXException,
                   IOException
obtain a DocumentHandler appropriate for the named output method and our destination
Specified by:
createDocumentHandler in interface OutputMethodHandler

createOutputMethodHandler

public OutputMethodHandler createOutputMethodHandler(String uri)
Specified by:
createOutputMethodHandler in interface OutputMethodHandler

setDestination

public void setDestination(Destination dest)