org.jbind.xml.instance.builder
Interface IDataValidator
- All Known Implementing Classes:
- ValidationVisitor
- public interface IDataValidator
Validates the (global) constraints of a data object.
validate
public void validate(IAnyTypeData aData,
IDataContext aDataContext,
IConstraintViolations aViolations)
- Validates a data object. A data context can be supplied for the validation
in order to allow references between different data objects. References are
resolved during validation.
- Parameters:
aData
- (required).aDataContext
- (optional).aViolations
- (required). Collects constraint violations.