org.everit.json.schema.loader.ExclusiveLimitHandlers Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of everit-json-schema-jdk6 Show documentation
Show all versions of everit-json-schema-jdk6 Show documentation
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