net.sf.saxon.event

Class ImplicitResultChecker

public class ImplicitResultChecker extends ProxyReceiver

This filter is inserted into the serializer pipeline when serializing an implicit XSLT result tree, that is, one that is created without use of xsl:result-document. Its main purpose is to check, if and only if the result destination is actually written to, that it does not conflict with an explicit result destination with the same URI. It also ensures that the output destination is opened before it is first written to.
Constructor Summary
ImplicitResultChecker(Receiver next, Controller controller)
Create an ImplicitResultChecker.
Method Summary
voidcharacters(CharSequence chars, int locationId, int properties)
voidclose()
voidcomment(CharSequence chars, int locationId, int properties)
voidopen()
voidprocessingInstruction(String target, CharSequence data, int locationId, int properties)
voidstartDocument(int properties)
voidstartElement(int nameCode, int typeCode, int locationId, int properties)

Constructor Detail

ImplicitResultChecker

public ImplicitResultChecker(Receiver next, Controller controller)
Create an ImplicitResultChecker. This is a filter on the output pipeline.

Parameters: next the next receiver on the pipeline controller the controller of the XSLT transformation

Method Detail

characters

public void characters(CharSequence chars, int locationId, int properties)

close

public void close()

comment

public void comment(CharSequence chars, int locationId, int properties)

open

public void open()

processingInstruction

public void processingInstruction(String target, CharSequence data, int locationId, int properties)

startDocument

public void startDocument(int properties)

startElement

public void startElement(int nameCode, int typeCode, int locationId, int properties)