Saxon.Api

 

 

Saxon.Api

Class NullDestination


public class NullDestination
implements IDestination

A NullDestination is an XmlDestination that discards all its output.

Constructor Summary

NullDestination ()

Construct a NullDestination

 

Property Summary

 Uri BaseUri

This property determines the base Uri of the constructed Serializer.

 net.sf.saxon.s9api.Destination UnderlyingDestination

The underlying Destination object in the Saxon implementation, which in the NullDestination is null.

 

Method Summary

 void OnClose (Action action)

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

 

Constructor Detail

NullDestination

public NullDestination()

Construct a NullDestination

Property Detail

BaseUri

public Uri BaseUri {get; set; }

This property determines the base Uri of the constructed Serializer.

UnderlyingDestination

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

The underlying Destination object in the Saxon implementation, which in the NullDestination is null.

Value:

null

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.