net.sf.saxon.expr.sort
Interface ItemOrderComparer

All Superinterfaces:
Serializable
All Known Implementing Classes:
GlobalOrderComparer, LocalOrderComparer

public interface ItemOrderComparer
extends Serializable

A Comparer used for comparing nodes in document order, or items in merge order

Author:
Michael H. Kay

Method Summary
 int compare(Item a, Item b)
          Compare two objects.
 

Method Detail

compare

int compare(Item a,
            Item b)
Compare two objects.

Returns:
<0 if a0 if a>b


Copyright (c) 2004-2011 Saxonica Limited. All rights reserved.