Package org.geotools.ysld.validate
Class PermissiveValidator
- Object
-
- YsldValidateHandler
-
- StatefulValidator
-
- PermissiveValidator
-
public class PermissiveValidator extends StatefulValidator
Validator which accepts a YAML subtree and then removes itself from the stack.This Validator is stateful, do not re-use it.
-
-
Constructor Summary
Constructors Constructor Description PermissiveValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
alias(AliasEvent evt, YsldValidateContext context)
void
endMapping(MappingEndEvent evt, YsldValidateContext context)
void
endSequence(SequenceEndEvent evt, YsldValidateContext context)
void
mapping(MappingStartEvent evt, YsldValidateContext context)
void
scalar(ScalarEvent evt, YsldValidateContext context)
void
sequence(SequenceStartEvent evt, YsldValidateContext context)
-
-
-
Method Detail
-
mapping
public void mapping(MappingStartEvent evt, YsldValidateContext context)
- Overrides:
mapping
in classYsldValidateHandler
-
scalar
public void scalar(ScalarEvent evt, YsldValidateContext context)
- Overrides:
scalar
in classYsldValidateHandler
-
sequence
public void sequence(SequenceStartEvent evt, YsldValidateContext context)
- Overrides:
sequence
in classYsldValidateHandler
-
endMapping
public void endMapping(MappingEndEvent evt, YsldValidateContext context)
- Overrides:
endMapping
in classYsldValidateHandler
-
endSequence
public void endSequence(SequenceEndEvent evt, YsldValidateContext context)
- Overrides:
endSequence
in classYsldValidateHandler
-
alias
public void alias(AliasEvent evt, YsldValidateContext context)
- Overrides:
alias
in classYsldValidateHandler
-
-