Package org.geotools.ysld.validate
Class RangeValidator<T extends Comparable<T>>
- Object
-
- YsldValidateHandler
-
- StatefulValidator
-
- TupleValidator
-
- RangeValidator<T>
-
- Type Parameters:
T
- Content type of the tuple.
- All Implemented Interfaces:
Cloneable
- Direct Known Subclasses:
ScaleValidator
,ZoomValidator
public abstract class RangeValidator<T extends Comparable<T>> extends TupleValidator
Validators for tuples that represent a range of values This Validator is stateful, do not re-use it.
-
-
Constructor Summary
Constructors Constructor Description RangeValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected List<ScalarValidator>
getSubValidators()
protected void
validateParsed(T parsed, ScalarEvent evt, YsldValidateContext context)
-
Methods inherited from class TupleValidator
alias, clone, endSequence, scalar, sequence
-
Methods inherited from class YsldValidateHandler
endMapping, mapping
-
-
-
-
Method Detail
-
getSubValidators
protected List<ScalarValidator> getSubValidators()
- Overrides:
getSubValidators
in classTupleValidator
-
validateParsed
protected void validateParsed(T parsed, ScalarEvent evt, YsldValidateContext context)
-
-