Class DateFormatAttributeContentValidator
java.lang.Object
de.hybris.platform.cmsfacades.cmsitems.attributevalidators.AbstractAttributeContentValidator<String>
de.hybris.platform.cmsfacades.cmsitems.attributevalidators.DateFormatAttributeContentValidator
- All Implemented Interfaces:
AttributeContentValidator<String>
Date Time Format validator adds validation errors when the value does not respect the expected date time format.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvalidate(String value, AttributeDescriptorModel attribute) Performs validation on the given arguments.Methods inherited from class de.hybris.platform.cmsfacades.cmsitems.attributevalidators.AbstractAttributeContentValidator
addValidationError, getConstraintMap, getValidationErrorsProvider, setValidationErrorsProvider
-
Constructor Details
-
DateFormatAttributeContentValidator
public DateFormatAttributeContentValidator()
-
-
Method Details
-
validate
Description copied from interface:AttributeContentValidatorPerforms validation on the given arguments.- Parameters:
value- the value objectattribute- the attribute descriptor of the givenvalue.
-