Class NameValidator


  • public class NameValidator
    extends ScalarValidator
    Validator for expressions
    Author:
    Kevin Smith, Boundless
    • Constructor Detail

      • NameValidator

        public NameValidator()
    • Method Detail

      • validate

        protected String validate​(String value,
                                  ScalarEvent evt,
                                  YsldValidateContext context)
        Specified by:
        validate in class ScalarValidator
        Returns:
        Null if the value successfully validates, otherwise a String containing the validation error message.