Novell exteNd
Director 5.2 API

com.sssw.fw.resource.search
Class EboResourceElementComparator

java.lang.Object
 |
 +--com.sssw.fw.resource.search.EboResourceElementComparator
All Implemented Interfaces:
EbiComparator
Direct Known Subclasses:
EboResourceClassElementComparator, EboResourceREGEXPElementComparator

public class EboResourceElementComparator
extends Object
implements EbiComparator


Fields inherited from interface com.sssw.fw.api.EbiComparator
EQUIVALENT, IN_ORDER, REVERSE_ORDER
 
Constructor Summary
EboResourceElementComparator()
           
 
Method Summary
 int compare(Object o1, Object o2)
          Determines the comparative ranking of two objects.
 int comparePrim(String template, String element)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EboResourceElementComparator

public EboResourceElementComparator()
Method Detail

compare

public int compare(Object o1,
                   Object o2)
Description copied from interface: EbiComparator
Determines the comparative ranking of two objects. When you implement the compare() method, it should return the following values:
Specified by:
compare in interface EbiComparator
Tags copied from interface: EbiComparator
Parameters:
o1 - The first object being compared.
o2 - The second object being compared.
Returns:
The resulting ranking of the two objects.

comparePrim

public int comparePrim(String template,
                       String element)

Novell exteNd
Director 5.2 API