Saxon.Api

Class DocumentBuilder

Class DomDestination

Class DynamicContext

Class DynamicError

Class EmptyEnumerator

Class ExtensionFunctionCall

Class ExtensionFunctionDefinition

Class InvalidityHandlerWrapper

Class NamespaceConstant

Class NullDestination

Class Processor

Class QName

Class SchemaManager

Class SchemaValidator

Class Serializer

Class StandardLogger

Class StaticContext

Class StaticError

Class TextWriterDestination

Class WhitespacePolicy

Class XPathCompiler

Class XPathExecutable

Class XPathSelector

Class XQueryCompiler

Class XQueryEvaluator

Class XQueryExecutable

Class XdmAnyFunctionType

Class XdmAnyItemType

Class XdmAnyNodeType

Class XdmArray

Class XdmAtomicType

Class XdmAtomicValue

Class XdmDestination

  - Class TreeProtector

Class XdmEmptySequence

Class XdmExternalObjectValue

Class XdmFunctionItem

Class XdmItem

Class XdmItemType

Class XdmMap

Class XdmNode

Class XdmNodeKind

Class XdmSequenceType

Class XdmValue

Class XmlDestination

Class Xslt30Transformer

Class XsltCompiler

Class XsltExecutable

  - Class ParameterDetails

Class XsltPackage

Class XsltTransformer

Enum RecoveryPolicy

Enum SchemaValidationMode

Enum TreeModel

Enum XdmAxis

Interface IInvalidityHandler

Interface IMessageListener

Interface IQueryResolver

Interface IResultDocumentHandler

Interface IXdmEnumerator

Interface IXmlLocation

Interface SchemaResolver

 

Saxon.Api
Interface IXdmEnumerator

All Known Implementing Classes
EmptyEnumerator

public interface IXdmEnumerator
implements IEnumerator

This class represents an enumeration of the values in an XPath sequence. It implements the IEnumerator interface, and the objects returned are always instances of XdmItem. In addition to the methods defined by IEnumerator, an additional method GetAnother must be implemented: this provides a new iterator over the same sequence of items, positioned at the start of the sequence.

Because the underlying value can be evaluated lazily, it is possible for exceptions to occur as the sequence is being read.


Method Summary
 IXdmEnumerator GetAnother()

Create another XdmEnumerator over the same sequence of values, positioned at the start of the sequence, with no change to this XdmEnumerator.

 
Method Detail

GetAnother

public IXdmEnumerator GetAnother()

Create another XdmEnumerator over the same sequence of values, positioned at the start of the sequence, with no change to this XdmEnumerator.

Returns:
A new XdmEnumerator over the same sequence of XDM items, positioned at the start of the sequence.