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).


Constructor Index

 o EvalResult(boolean, String)
Create a new EvalResult.

Method Index

 o getExplanation()
Returns the String portion of the EvalResult.
 o getResult()
Returns the boolean portion of the EvalResult.

Constructors

 o EvalResult
 public EvalResult(boolean result,
                   String explanation)
Create a new EvalResult.

Parameters:
result - The boolean value.
explanation - The explanation.

Methods

 o getResult
 public boolean getResult()
Returns the boolean portion of the EvalResult.

Returns:
A boolean.
 o 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