Package org.geotools.ysld.validate
Class TupleValidator
- Object
-
- YsldValidateHandler
-
- StatefulValidator
-
- TupleValidator
-
- All Implemented Interfaces:
Cloneable
- Direct Known Subclasses:
RangeValidator
public class TupleValidator extends StatefulValidator implements Cloneable
Validator for TuplesThis Validator is stateful, reset it before re-using it.
- Author:
- Kevin Smith, Boundless
-
-
Constructor Summary
Constructors Constructor Description TupleValidator(List<? extends ScalarValidator> subValidators)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
alias(AliasEvent evt, YsldValidateContext context)
TupleValidator
clone()
void
endSequence(SequenceEndEvent evt, YsldValidateContext context)
protected List<ScalarValidator>
getSubValidators()
void
scalar(ScalarEvent evt, YsldValidateContext context)
void
sequence(SequenceStartEvent evt, YsldValidateContext context)
-
Methods inherited from class YsldValidateHandler
endMapping, mapping
-
-
-
-
Constructor Detail
-
TupleValidator
public TupleValidator(List<? extends ScalarValidator> subValidators)
-
-
Method Detail
-
sequence
public void sequence(SequenceStartEvent evt, YsldValidateContext context)
- Overrides:
sequence
in classYsldValidateHandler
-
endSequence
public void endSequence(SequenceEndEvent evt, YsldValidateContext context)
- Overrides:
endSequence
in classYsldValidateHandler
-
getSubValidators
protected List<ScalarValidator> getSubValidators()
-
scalar
public void scalar(ScalarEvent evt, YsldValidateContext context)
- Overrides:
scalar
in classYsldValidateHandler
-
clone
public TupleValidator clone()
-
alias
public void alias(AliasEvent evt, YsldValidateContext context)
- Overrides:
alias
in classYsldValidateHandler
-
-