All Packages Class Hierarchy This Package Previous Next Index
Class w3c.pics.parser.EvalResult
java.lang.Object
|
+----w3c.pics.parser.EvalResult
- public class EvalResult
- extends Object
Contains the results of evaluating a label against a profile (a boolean
and an explanation).
-
EvalResult(boolean, String)
- Create a new EvalResult.
-
getExplanation()
- Returns the String portion of the EvalResult.
-
getResult()
- Returns the boolean portion of the EvalResult.
EvalResult
public EvalResult(boolean result,
String explanation)
- Create a new EvalResult.
- Parameters:
- result - The boolean value.
- explanation - The explanation.
getResult
public boolean getResult()
- Returns the boolean portion of the EvalResult.
- Returns:
- A boolean.
getExplanation
public String getExplanation()
- Returns the String portion of the EvalResult.
- Returns:
- A String (the explanation).
All Packages Class Hierarchy This Package Previous Next Index