ca.intelliware.amakihi.fixture
Class BaseReturnValueValidator.MatchResult
java.lang.Object
|
+--ca.intelliware.amakihi.fixture.BaseReturnValueValidator.MatchResult
- All Implemented Interfaces:
- java.lang.Comparable
- Direct Known Subclasses:
- BaseReturnValueValidator.NonMatchResult, BaseReturnValueValidator.PerfectMatchResult
- Enclosing class:
- BaseReturnValueValidator
- public abstract class BaseReturnValueValidator.MatchResult
- extends java.lang.Object
- implements java.lang.Comparable
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BaseReturnValueValidator.MatchResult
public BaseReturnValueValidator.MatchResult(org.w3c.dom.Node node,
int precedence)
isSuccessful
public boolean isSuccessful()
getNode
public org.w3c.dom.Node getNode()
getReason
public java.lang.String getReason()
getDescription
public abstract java.lang.String getDescription()
getPrecedence
protected int getPrecedence()
compareTo
public int compareTo(java.lang.Object object)
Compare two Match Results. We consider positive numbers to indicate
"better" matches.
Note: this class has a natural ordering that is inconsistent with equals.
- Specified by:
compareTo
in interface java.lang.Comparable
- See Also:
Comparable.compareTo(Object)
Copyright 2002 Intelliware Development. All Rights Reserved.