Saxon.Api

 

 

Saxon.Api

Class EmptyEnumerator<T>


public class EmptyEnumerator<T>
extends IEnumerator<T>

An implementation of IEnumerator that iterates over an empty sequence.

Field Summary

static EmptyEnumerator<XdmItem> INSTANCE

Create an instance of the enumerator with the XdmItem as the generic type

static EmptyEnumerator<XdmNode> NODE_INSTANCE

Create an instance of the enumerator with the XdmNode as the generic type

 

Method Summary

 void Dispose()

The Dispose method is not implemented on this Enumerator

 bool MoveNext()

Move to the next item in the enumerator..

 void Reset()

Reset the enumerator

 

Field Detail

INSTANCE

public static EmptyEnumerator<XdmItem> INSTANCE

Create an instance of the enumerator with the XdmItem as the generic type

NODE_INSTANCE

public static EmptyEnumerator<XdmNode> NODE_INSTANCE

Create an instance of the enumerator with the XdmNode as the generic type

Method Detail

Dispose

public void Dispose()

The Dispose method is not implemented on this Enumerator

MoveNext

public bool MoveNext()

Move to the next item in the enumerator..

Returns:

true if successful move, false otherwise.

Reset

public void Reset()

Reset the enumerator