net.sf.saxon.sort
Interface NodeOrderComparer

All Known Implementing Classes:
GlobalOrderComparer, LocalOrderComparer

public interface NodeOrderComparer

A Comparer used for comparing nodes in document order

Author:
Michael H. Kay

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

Method Detail

compare

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

Returns:
<0 if a0 if a>b


Copyright (C) Michael H. Kay. All rights reserved.