org.jboss.shotoku.search
Class SortParameter

java.lang.Object
  extended by org.jboss.shotoku.search.SortParameter
All Implemented Interfaces:
SearchParameter
Direct Known Subclasses:
DateSortParameter, PropertySortParameter

public class SortParameter
extends java.lang.Object
implements SearchParameter

A search parameter which sorts the result node list with the given comparator.

Author:
Adam Warski (adamw@aster.pl)

Constructor Summary
SortParameter(java.util.Comparator<Node> comparator)
           
 
Method Summary
 NodeList transform(NodeList list, ContentManager cm)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SortParameter

public SortParameter(java.util.Comparator<Node> comparator)
Method Detail

transform

public NodeList transform(NodeList list,
                          ContentManager cm)
Specified by:
transform in interface SearchParameter


Copyright © -2006 . All Rights Reserved.