Package org.geotools.ysld.validate
Class SequenceValidator
- Object
-
- YsldValidateHandler
-
- StatefulValidator
-
- SequenceValidator
-
- All Implemented Interfaces:
Cloneable
public class SequenceValidator extends StatefulValidator implements Cloneable
Validator for SequencesThis Validator is stateful, reset it before re-using it.
- Author:
- Kevin Smith, Boundless
-
-
Constructor Summary
Constructors Constructor Description SequenceValidator(YsldValidateHandler subValidator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
alias(AliasEvent evt, YsldValidateContext context)
SequenceValidator
clone()
void
endSequence(SequenceEndEvent evt, YsldValidateContext context)
protected YsldValidateHandler
getSubValidator()
void
scalar(ScalarEvent evt, YsldValidateContext context)
void
sequence(SequenceStartEvent evt, YsldValidateContext context)
-
Methods inherited from class YsldValidateHandler
endMapping, mapping
-
-
-
-
Constructor Detail
-
SequenceValidator
public SequenceValidator(YsldValidateHandler subValidator)
-
-
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
-
getSubValidator
protected YsldValidateHandler getSubValidator()
-
scalar
public void scalar(ScalarEvent evt, YsldValidateContext context)
- Overrides:
scalar
in classYsldValidateHandler
-
clone
public SequenceValidator clone()
-
alias
public void alias(AliasEvent evt, YsldValidateContext context)
- Overrides:
alias
in classYsldValidateHandler
-
-