org.apache.turbine.services.intake.validator
Interface CompareCallback
- public interface CompareCallback
Interface to define the compare operation betwen two field values
- Version:
- $Id: DateStringValidator.java 534527 2007-05-02 16:10:59Z tv $
- Author:
- Thomas Vandahl
Method Summary |
boolean |
compareValues(int compare,
java.lang.Object thisValue,
java.lang.Object refValue)
Compare the given values using the compare operation provided |
compareValues
public boolean compareValues(int compare,
java.lang.Object thisValue,
java.lang.Object refValue)
throws java.lang.ClassCastException
- Compare the given values using the compare operation provided
- Parameters:
compare
- type of compare operationthisValue
- value of this fieldrefValue
- value of the reference field
- Returns:
- the result of the comparison
- Throws:
java.lang.ClassCastException
Copyright © 2000-2008 Apache Software Foundation. All Rights Reserved.