All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.everit.json.schema.loader.ExclusiveLimitHandlers Maven / Gradle / Ivy

Go to download

Implementation of the JSON Schema Core Draft v4 - v7 specification built with the org.json API

The newest version!
package org.everit.json.schema.loader;

public class ExclusiveLimitHandlers {
    public static ExclusiveLimitHandler ofSpecVersion(SpecificationVersion specVersion) {
        switch (specVersion) {
            case DRAFT_4: return new V4ExclusiveLimitHandler();
            case DRAFT_6:
            case DRAFT_7: return new V6ExclusiveLimitHandler();
            default: throw new RuntimeException("unknown spec version: " + specVersion);
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy