com.jclark.xsl.sax2

Class OutputMethodHandlerImpl

public class OutputMethodHandlerImpl extends Object implements OutputMethodHandler

produces a ContentHandler suitable for a given output method i.e text, XML, etc and destination
Constructor Summary
OutputMethodHandlerImpl()
Method Summary
ContentHandlercreateContentHandler(String name, Properties atts)
obtain a ContentHandler appropriate for the named output method and our destination
OutputMethodHandlercreateOutputMethodHandler(String uri)
Creates a new instance for writing to the given URI.
voidsetDestination(Destination dest)
set the target of our output stream

Constructor Detail

OutputMethodHandlerImpl

public OutputMethodHandlerImpl()

Method Detail

createContentHandler

public ContentHandler createContentHandler(String name, Properties atts)
obtain a ContentHandler appropriate for the named output method and our destination

createOutputMethodHandler

public OutputMethodHandler createOutputMethodHandler(String uri)
Creates a new instance for writing to the given URI. Useful for "xt:document" extension element

setDestination

public void setDestination(Destination dest)
set the target of our output stream