Saxon.Api

 

 

Saxon.Api

Interface IDestination

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

public interface IDestination

An abstract destination for the results of a query or transformation.

A number of implementations of IDestination are supplied with the Saxon product. While user-written or third-party implementations of the interface can be created in principle, the interface is not designed to make this easy.

Property Summary

 net.sf.saxon.s9api.Destination UnderlyingDestination

The underlying Saxon.Hej.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 Saxon.Hej.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 SaxonCS 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.