Package org.geotools.ysld.validate
Class ExpressionValidator
- Object
-
- YsldValidateHandler
-
- ScalarValidator
-
- ExpressionValidator
-
public class ExpressionValidator extends ScalarValidator
Validator for expressions- Author:
- Kevin Smith, Boundless
-
-
Constructor Summary
Constructors Constructor Description ExpressionValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
validate(String value, ScalarEvent evt, YsldValidateContext context)
-
Methods inherited from class ScalarValidator
alias, scalar
-
Methods inherited from class YsldValidateHandler
endMapping, endSequence, mapping, sequence
-
-
-
-
Method Detail
-
validate
protected String validate(String value, ScalarEvent evt, YsldValidateContext context)
- Specified by:
validate
in classScalarValidator
- Returns:
- Null if the value successfully validates, otherwise a String containing the validation error message.
-
-