Class DoubleAttributeContentValidator
java.lang.Object
de.hybris.platform.cmsfacades.cmsitems.attributevalidators.AbstractAttributeContentValidator<Object>
de.hybris.platform.cmsfacades.cmsitems.attributevalidators.NumberAttributeContentValidator
de.hybris.platform.cmsfacades.cmsitems.attributevalidators.DoubleAttributeContentValidator
- All Implemented Interfaces:
AttributeContentValidator<Object>
Double validator adds validation errors when the value is not parsable into a Double
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvalidate(Object value, AttributeDescriptorModel attribute) Performs validation on the given arguments.Methods inherited from class de.hybris.platform.cmsfacades.cmsitems.attributevalidators.NumberAttributeContentValidator
getConstraintsMethods inherited from class de.hybris.platform.cmsfacades.cmsitems.attributevalidators.AbstractAttributeContentValidator
addValidationError, getConstraintMap, getValidationErrorsProvider, setValidationErrorsProvider
-
Constructor Details
-
DoubleAttributeContentValidator
public DoubleAttributeContentValidator()
-
-
Method Details
-
validate
Description copied from interface:AttributeContentValidatorPerforms validation on the given arguments.- Specified by:
validatein interfaceAttributeContentValidator<Object>- Overrides:
validatein classNumberAttributeContentValidator- Parameters:
value- the value objectattribute- the attribute descriptor of the givenvalue.
-