Class StandardValidator

java.lang.Object
org.elasticsearch.geometry.utils.StandardValidator
All Implemented Interfaces:
GeometryValidator

public class StandardValidator
extends java.lang.Object
implements GeometryValidator
Validator that only checks that altitude only shows up if ignoreZValue is set to true.
  • Constructor Summary

    Constructors 
    Constructor Description
    StandardValidator​(boolean ignoreZValue)  
  • Method Summary

    Modifier and Type Method Description
    protected void checkZ​(double zValue)  
    void validate​(Geometry geometry)
    Validates the geometry and throws IllegalArgumentException if the geometry is not valid

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait