Saxon.Api

 

 

Saxon.Api

Interface IDestination

All Known Implementing Classes
DomDestination, NullDestination, RawDestination, Serializer, XdmDestination, XmlWriterDestination, XsltTransformer

public interface IDestination

An abstract destination for the results of a query or transformation

Property Summary

 net.sf.saxon.s9api.Destination UnderlyingDestination

The underlying net.sf.saxon.s9api.Destination object in the Saxon implementation

 

Method Summary

 void OnClose (Action action)

Define an action to be performed when writing to the Destination is complete.

 

Property Detail

UnderlyingDestination

public net.sf.saxon.s9api.Destination UnderlyingDestination {get; }

The underlying net.sf.saxon.s9api.Destination object in the Saxon implementation

This method must be implemented in any class that implements this interface, that is, a class that provides a custom destination not based on those supplied in the Saxon-CS product.

Implementing this method requires familiarity with Saxon internals (which may change from one release to another.

Information about the returned net.sf.saxon.s9api.Destination object (and the objects it provides access to) is included in the Saxon JavaDoc documentation.

Value:

The underlying Destination object

Method Detail

OnClose

public void OnClose(Action action)

Define an action to be performed when writing to the Destination is complete.

Parameters:

action - The action to be performed.