Package org.geotools.ysld.validate
Class YsldValidator
- Object
-
- YsldValidator
-
public class YsldValidator extends Object
Validates a YSLD style
-
-
Constructor Summary
Constructors Constructor Description YsldValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setZCtxtFinders(List<ZoomContextFinder> zCtxtFinders)
List<MarkedYAMLException>
validate(Reader input)
Validate the passed style
-
-
-
Method Detail
-
validate
public List<MarkedYAMLException> validate(Reader input) throws IOException
Validate the passed style- Parameters:
input
- Reader for the style- Returns:
- List of
MarkedYAMLException
representing any errors, or an empty list if the style is valid - Throws:
IOException
-
setZCtxtFinders
public void setZCtxtFinders(List<ZoomContextFinder> zCtxtFinders)
-
-