Class UpdateFieldNameValidator

  • All Implemented Interfaces:
    FieldNameValidator

    @Deprecated(since="2021-05-27")
    public class UpdateFieldNameValidator
    extends Object
    implements FieldNameValidator
    Deprecated.
    Usage of this API is not supported in AEM as a Cloud Service.
    A field name validator for update documents. It ensures that all top-level fields start with a '$'.

    This class should not be considered a part of the public API.

    • Constructor Detail

      • UpdateFieldNameValidator

        public UpdateFieldNameValidator()
        Deprecated.
    • Method Detail

      • validate

        public boolean validate​(String fieldName)
        Deprecated.
        Description copied from interface: FieldNameValidator
        Returns true if the field name is valid, false otherwise.
        Specified by:
        validate in interface FieldNameValidator
        Parameters:
        fieldName - the field name
        Returns:
        true if the field name is valid, false otherwise