Class XorValidationHandler
- java.lang.Object
 - 
- de.isas.mztab2.validation.handlers.XorValidationHandler
 
 
- 
- All Implemented Interfaces:
 CvTermValidationHandler
public class XorValidationHandler extends Object implements CvTermValidationHandler
Implements 'XOR' logic, meaning mutually exclusive alternative possible terms or term roots for an object are allowed.- Author:
 - nilshoffmann
 
 
- 
- 
Constructor Summary
Constructors Constructor Description XorValidationHandler() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ValidationMessage>handleParameters(RuleEvaluationResult result, boolean errorOnTermNotInRule)Implementations of this method should take care that they always return a list, even if it is empty. 
 - 
 
- 
- 
Constructor Detail
- 
XorValidationHandler
public XorValidationHandler()
 
 - 
 
- 
Method Detail
- 
handleParameters
public List<ValidationMessage> handleParameters(RuleEvaluationResult result, boolean errorOnTermNotInRule)
Description copied from interface:CvTermValidationHandlerImplementations of this method should take care that they always return a list, even if it is empty.- Specified by:
 handleParametersin interfaceCvTermValidationHandler- Parameters:
 result- the validation messages produced by this handler.errorOnTermNotInRule- flag to signal, whether unknown terms should yield an error.- Returns:
 
 
 - 
 
 -