org.alfresco.web.evaluator
Class NullValueComparator

java.lang.Object
  extended by org.alfresco.web.evaluator.NullValueComparator
All Implemented Interfaces:
Comparator

public class NullValueComparator
extends java.lang.Object
implements Comparator


Constructor Summary
NullValueComparator()
           
 
Method Summary
 boolean compare(java.lang.Object nodeValue)
          Run the compare logic and return the result.
 void setValue(java.lang.String value)
          Setter for static string value to compare to
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullValueComparator

public NullValueComparator()
Method Detail

setValue

public void setValue(java.lang.String value)
Setter for static string value to compare to

Parameters:
value -

compare

public boolean compare(java.lang.Object nodeValue)
Description copied from interface: Comparator
Run the compare logic and return the result.

Specified by:
compare in interface Comparator
Parameters:
nodeValue - Object the node's value to compare
Returns:
true for a successful result, false otherwise


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.