Package com._1c.g5.v8.dt.md.validation
Class MdLegacyValidatorProvider
java.lang.Object
com._1c.g5.v8.dt.md.validation.MdLegacyValidatorProvider
- All Implemented Interfaces:
ILegacyValidatorProvider
- Direct Known Subclasses:
MdExtensionLegacyValidatorProvider
Implementation of
ILegacyValidatorProvider for MdValidator-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateValidationContext(org.eclipse.emf.ecore.EObject object) Provides the validator specific validation context.Returns the instance of the legacy validator
-
Constructor Details
-
MdLegacyValidatorProvider
public MdLegacyValidatorProvider()
-
-
Method Details
-
getValidator
Description copied from interface:ILegacyValidatorProviderReturns the instance of the legacy validator- Specified by:
getValidatorin interfaceILegacyValidatorProvider- Returns:
- the instance of the legacy validator, cannot be
null
-
createValidationContext
Description copied from interface:ILegacyValidatorProviderProvides the validator specific validation context. Context is not intended to be modified by clients- Specified by:
createValidationContextin interfaceILegacyValidatorProvider- Parameters:
object- the target object being validated, cannot benull- Returns:
- the map with validation context, cannot be
null, can be empty for unsupported objects
-