Skip navigation links
A B C D E F G H I J K L M N O P Q R S T U V W 

A

accept(URI) - Method in interface org.everit.json.schema.loader.internal.ResolutionScopeChangeListener
 
addFormatValidator(FormatValidator) - Method in class org.everit.json.schema.loader.SchemaLoader.SchemaLoaderBuilder
Registers a format validator with the name returned by FormatValidator.formatName().
addFormatValidator(String, FormatValidator) - Method in class org.everit.json.schema.loader.SchemaLoader.SchemaLoaderBuilder
addItemSchema(Schema) - Method in class org.everit.json.schema.ArraySchema.Builder
Adds an item schema for tuple validation.
additionalItems(boolean) - Method in class org.everit.json.schema.ArraySchema.Builder
 
additionalProperties(boolean) - Method in class org.everit.json.schema.ObjectSchema.Builder
 
addPropertySchema(String, Schema) - Method in class org.everit.json.schema.ObjectSchema.Builder
Adds a property schema.
addRequiredProperty(String) - Method in class org.everit.json.schema.ObjectSchema.Builder
 
addResolutionScopeChangeListener(ResolutionScopeChangeListener) - Method in class org.everit.json.schema.loader.internal.TypeBasedMultiplexer
 
ALL_CRITERION - Static variable in class org.everit.json.schema.CombinedSchema
Validation criterion for allOf schemas.
allItemSchema(Schema) - Method in class org.everit.json.schema.ArraySchema.Builder
 
allOf(Collection<Schema>) - Static method in class org.everit.json.schema.CombinedSchema
 
ANY_CRITERION - Static variable in class org.everit.json.schema.CombinedSchema
Validation criterion for anyOf schemas.
anyOf(Collection<Schema>) - Static method in class org.everit.json.schema.CombinedSchema
 
apply(String) - Method in interface org.everit.json.schema.loader.SchemaClient
 
array() - Method in class org.everit.json.schema.internal.JSONPrinter
 
ArraySchema - Class in org.everit.json.schema
Array schema validator.
ArraySchema(ArraySchema.Builder) - Constructor for class org.everit.json.schema.ArraySchema
Constructor.
ArraySchema.Builder - Class in org.everit.json.schema
Builder class for ArraySchema.
asInetAddress(String) - Method in class org.everit.json.schema.internal.IPAddressValidator
Creates an InetAddress instance if possible and returns it, or on failure it returns Optional.empty().

B

BooleanSchema - Class in org.everit.json.schema
Boolean schema validator.
BooleanSchema(BooleanSchema.Builder) - Constructor for class org.everit.json.schema.BooleanSchema
 
BooleanSchema.Builder - Class in org.everit.json.schema
Builder class for BooleanSchema.
build() - Method in class org.everit.json.schema.ArraySchema.Builder
 
build() - Method in class org.everit.json.schema.BooleanSchema.Builder
 
build() - Method in class org.everit.json.schema.CombinedSchema.Builder
 
build() - Method in class org.everit.json.schema.EmptySchema.Builder
 
build() - Method in class org.everit.json.schema.EnumSchema.Builder
 
build() - Method in class org.everit.json.schema.loader.SchemaLoader.SchemaLoaderBuilder
 
build() - Method in class org.everit.json.schema.NotSchema.Builder
 
build() - Method in class org.everit.json.schema.NullSchema.Builder
 
build() - Method in class org.everit.json.schema.NumberSchema.Builder
 
build() - Method in class org.everit.json.schema.ObjectSchema.Builder
 
build() - Method in class org.everit.json.schema.ReferenceSchema.Builder
This method caches its result, so multiple invocations will return referentially the same ReferenceSchema instance.
build() - Method in class org.everit.json.schema.Schema.Builder
 
build() - Method in class org.everit.json.schema.StringSchema.Builder
 
builder() - Static method in class org.everit.json.schema.ArraySchema
 
Builder() - Constructor for class org.everit.json.schema.ArraySchema.Builder
 
builder() - Static method in class org.everit.json.schema.BooleanSchema
 
Builder() - Constructor for class org.everit.json.schema.BooleanSchema.Builder
 
builder() - Static method in class org.everit.json.schema.CombinedSchema
 
builder(Collection<Schema>) - Static method in class org.everit.json.schema.CombinedSchema
 
Builder() - Constructor for class org.everit.json.schema.CombinedSchema.Builder
 
builder() - Static method in class org.everit.json.schema.EmptySchema
 
Builder() - Constructor for class org.everit.json.schema.EmptySchema.Builder
 
builder() - Static method in class org.everit.json.schema.EnumSchema
 
Builder() - Constructor for class org.everit.json.schema.EnumSchema.Builder
 
builder() - Static method in class org.everit.json.schema.loader.SchemaLoader
 
builder() - Static method in class org.everit.json.schema.NotSchema
 
Builder() - Constructor for class org.everit.json.schema.NotSchema.Builder
 
builder() - Static method in class org.everit.json.schema.NullSchema
 
Builder() - Constructor for class org.everit.json.schema.NullSchema.Builder
 
builder() - Static method in class org.everit.json.schema.NumberSchema
 
Builder() - Constructor for class org.everit.json.schema.NumberSchema.Builder
 
builder() - Static method in class org.everit.json.schema.ObjectSchema
 
Builder() - Constructor for class org.everit.json.schema.ObjectSchema.Builder
 
builder() - Static method in class org.everit.json.schema.ReferenceSchema
 
Builder() - Constructor for class org.everit.json.schema.ReferenceSchema.Builder
 
Builder() - Constructor for class org.everit.json.schema.Schema.Builder
 
builder() - Static method in class org.everit.json.schema.StringSchema
 
Builder() - Constructor for class org.everit.json.schema.StringSchema.Builder
 

C

canEqual(Object) - Method in class org.everit.json.schema.ArraySchema
 
canEqual(Object) - Method in class org.everit.json.schema.BooleanSchema
 
canEqual(Object) - Method in class org.everit.json.schema.CombinedSchema
 
canEqual(Object) - Method in class org.everit.json.schema.EmptySchema
 
canEqual(Object) - Method in class org.everit.json.schema.EnumSchema
 
canEqual(Object) - Method in class org.everit.json.schema.NotSchema
 
canEqual(Object) - Method in class org.everit.json.schema.NullSchema
 
canEqual(Object) - Method in class org.everit.json.schema.NumberSchema
 
canEqual(Object) - Method in class org.everit.json.schema.ObjectSchema
 
canEqual(Object) - Method in class org.everit.json.schema.ReferenceSchema
 
canEqual(Object) - Method in class org.everit.json.schema.Schema
Since we add state in subclasses, but want those subclasses to be non final, this allows us to have equals methods that satisfy the equals contract.
canEqual(Object) - Method in class org.everit.json.schema.StringSchema
 
checkIpAddress(String, int, String) - Method in class org.everit.json.schema.internal.IPAddressValidator
Checks an IP address.
CombinedSchema - Class in org.everit.json.schema
Validator for allOf, oneOf, anyOf schemas.
CombinedSchema(CombinedSchema.Builder) - Constructor for class org.everit.json.schema.CombinedSchema
Constructor.
CombinedSchema.Builder - Class in org.everit.json.schema
Builder class for CombinedSchema.
CombinedSchema.ValidationCriterion - Interface in org.everit.json.schema
Validation criterion.
criterion(CombinedSchema.ValidationCriterion) - Method in class org.everit.json.schema.CombinedSchema.Builder
 

D

DateTimeFormatValidator - Class in org.everit.json.schema.internal
Implementation of the "date-time" format value.
DateTimeFormatValidator() - Constructor for class org.everit.json.schema.internal.DateTimeFormatValidator
 
deepEquals(Object, Object) - Static method in class org.everit.json.schema.ObjectComparator
Deep-equals implementation on primitive wrappers, JSONObject and JSONArray.
DefaultSchemaClient - Class in org.everit.json.schema.loader.internal
A SchemaClient implementation which uses URL for reading the remote content.
DefaultSchemaClient() - Constructor for class org.everit.json.schema.loader.internal.DefaultSchemaClient
 
definesProperty(String) - Method in class org.everit.json.schema.CombinedSchema
 
definesProperty(String) - Method in class org.everit.json.schema.ObjectSchema
 
definesProperty(String) - Method in class org.everit.json.schema.ReferenceSchema
 
definesProperty(String) - Method in class org.everit.json.schema.Schema
Determines if this Schema instance defines any restrictions for the object property denoted by field.
describeTo(JSONPrinter) - Method in class org.everit.json.schema.Schema
Describes the instance as a JSONObject to writer.
description(String) - Method in class org.everit.json.schema.Schema.Builder
 

E

EmailFormatValidator - Class in org.everit.json.schema.internal
Implementation of the "email" format value.
EmailFormatValidator() - Constructor for class org.everit.json.schema.internal.EmailFormatValidator
 
EmptySchema - Class in org.everit.json.schema
A schema not specifying any restrictions, ie.
EmptySchema(EmptySchema.Builder) - Constructor for class org.everit.json.schema.EmptySchema
 
EmptySchema.Builder - Class in org.everit.json.schema
Builder class for EmptySchema.
endArray() - Method in class org.everit.json.schema.internal.JSONPrinter
 
endObject() - Method in class org.everit.json.schema.internal.JSONPrinter
 
EnumSchema - Class in org.everit.json.schema
Enum schema validator.
EnumSchema(EnumSchema.Builder) - Constructor for class org.everit.json.schema.EnumSchema
 
EnumSchema.Builder - Class in org.everit.json.schema
Builder class for EnumSchema.
equals(Object) - Method in class org.everit.json.schema.ArraySchema
 
equals(Object) - Method in class org.everit.json.schema.BooleanSchema
 
equals(Object) - Method in class org.everit.json.schema.CombinedSchema
 
equals(Object) - Method in class org.everit.json.schema.EmptySchema
 
equals(Object) - Method in class org.everit.json.schema.EnumSchema
 
equals(Object) - Method in class org.everit.json.schema.NotSchema
 
equals(Object) - Method in class org.everit.json.schema.NullSchema
 
equals(Object) - Method in class org.everit.json.schema.NumberSchema
 
equals(Object) - Method in class org.everit.json.schema.ObjectSchema
 
equals(Object) - Method in class org.everit.json.schema.ReferenceSchema
 
equals(Object) - Method in class org.everit.json.schema.Schema
 
equals(Object) - Method in class org.everit.json.schema.StringSchema
 
exclusiveMaximum(boolean) - Method in class org.everit.json.schema.NumberSchema.Builder
 
exclusiveMinimum(boolean) - Method in class org.everit.json.schema.NumberSchema.Builder
 

F

forDocument(JSONObject, String) - Static method in class org.everit.json.schema.loader.internal.JSONPointer
 
forFormat(String) - Static method in interface org.everit.json.schema.FormatValidator
Static factory method for FormatValidator implementations supporting the formatNames mandated by the json schema spec.
formatName() - Method in interface org.everit.json.schema.FormatValidator
Provides the name of this format.
formatName() - Method in class org.everit.json.schema.internal.DateTimeFormatValidator
 
formatName() - Method in class org.everit.json.schema.internal.EmailFormatValidator
 
formatName() - Method in class org.everit.json.schema.internal.HostnameFormatValidator
 
formatName() - Method in class org.everit.json.schema.internal.IPV4Validator
 
formatName() - Method in class org.everit.json.schema.internal.IPV6Validator
 
formatName() - Method in class org.everit.json.schema.internal.URIFormatValidator
 
formatName() - Method in class org.everit.json.schema.loader.internal.WrappingFormatValidator
 
FormatValidator - Interface in org.everit.json.schema
Implementations perform the validation against the "format" keyword (see JSON Schema spec section 7).
formatValidator(FormatValidator) - Method in class org.everit.json.schema.StringSchema.Builder
Setter for the format validator.
forURL(SchemaClient, String) - Static method in class org.everit.json.schema.loader.internal.JSONPointer
Static factory method.

G

get(String) - Method in class org.everit.json.schema.loader.internal.DefaultSchemaClient
 
get(String) - Method in interface org.everit.json.schema.loader.SchemaClient
Returns a stream to be used for reading the remote content (response body) of the URL.
getAllItemSchema() - Method in class org.everit.json.schema.ArraySchema
 
getAllMessages() - Method in exception org.everit.json.schema.ValidationException
Returns all messages collected from all violations, including nested causing exceptions.
getCausingExceptions() - Method in exception org.everit.json.schema.ValidationException
 
getContainingDocument() - Method in class org.everit.json.schema.loader.internal.JSONPointer.QueryResult
getCriterion() - Method in class org.everit.json.schema.CombinedSchema
 
getDescription() - Method in class org.everit.json.schema.Schema
 
getErrorMessage() - Method in exception org.everit.json.schema.ValidationException
Returns a programmer-readable error description.
getFormatValidator() - Method in class org.everit.json.schema.StringSchema
 
getId() - Method in class org.everit.json.schema.Schema
 
getItemSchemas() - Method in class org.everit.json.schema.ArraySchema
 
getKeyword() - Method in exception org.everit.json.schema.ValidationException
 
getMaximum() - Method in class org.everit.json.schema.NumberSchema
 
getMaxItems() - Method in class org.everit.json.schema.ArraySchema
 
getMaxLength() - Method in class org.everit.json.schema.StringSchema
 
getMaxProperties() - Method in class org.everit.json.schema.ObjectSchema
 
getMessage() - Method in exception org.everit.json.schema.ValidationException
Returns a programmer-readable error description prepended by the pointer to the violating fragment of the JSON document.
getMinimum() - Method in class org.everit.json.schema.NumberSchema
 
getMinItems() - Method in class org.everit.json.schema.ArraySchema
 
getMinLength() - Method in class org.everit.json.schema.StringSchema
 
getMinProperties() - Method in class org.everit.json.schema.ObjectSchema
 
getMultipleOf() - Method in class org.everit.json.schema.NumberSchema
 
getMustNotMatch() - Method in class org.everit.json.schema.NotSchema
 
getPattern() - Method in class org.everit.json.schema.StringSchema
 
getPatternProperties() - Method in class org.everit.json.schema.ObjectSchema
 
getPointerToViolation() - Method in exception org.everit.json.schema.ValidationException
A JSON pointer denoting the part of the document which violates the schema.
getPossibleValues() - Method in class org.everit.json.schema.EnumSchema
 
getPropertyDependencies() - Method in class org.everit.json.schema.ObjectSchema
 
getPropertySchemas() - Method in class org.everit.json.schema.ObjectSchema
 
getQueryResult() - Method in class org.everit.json.schema.loader.internal.JSONPointer.QueryResult
getReferredSchema() - Method in class org.everit.json.schema.ReferenceSchema
 
getRequiredProperties() - Method in class org.everit.json.schema.ObjectSchema
 
getRootSchemaJson() - Method in class org.everit.json.schema.loader.SchemaLoader.SchemaLoaderBuilder
 
getSchemaDependencies() - Method in class org.everit.json.schema.ObjectSchema
 
getSchemaOfAdditionalItems() - Method in class org.everit.json.schema.ArraySchema
 
getSchemaOfAdditionalProperties() - Method in class org.everit.json.schema.ObjectSchema
 
getSubschemas() - Method in class org.everit.json.schema.CombinedSchema
 
getTitle() - Method in class org.everit.json.schema.Schema
 
getViolatedSchema() - Method in exception org.everit.json.schema.ValidationException
 
getViolationCount() - Method in exception org.everit.json.schema.ValidationException
 

H

hashCode() - Method in class org.everit.json.schema.ArraySchema
 
hashCode() - Method in class org.everit.json.schema.BooleanSchema
 
hashCode() - Method in class org.everit.json.schema.CombinedSchema
 
hashCode() - Method in class org.everit.json.schema.EmptySchema
 
hashCode() - Method in class org.everit.json.schema.EnumSchema
 
hashCode() - Method in class org.everit.json.schema.NotSchema
 
hashCode() - Method in class org.everit.json.schema.NullSchema
 
hashCode() - Method in class org.everit.json.schema.NumberSchema
 
hashCode() - Method in class org.everit.json.schema.ObjectSchema
 
hashCode() - Method in class org.everit.json.schema.ReferenceSchema
 
hashCode() - Method in class org.everit.json.schema.Schema
 
hashCode() - Method in class org.everit.json.schema.StringSchema
 
HostnameFormatValidator - Class in org.everit.json.schema.internal
Implementation of the "hostname" format value.
HostnameFormatValidator() - Constructor for class org.everit.json.schema.internal.HostnameFormatValidator
 
httpClient(SchemaClient) - Method in class org.everit.json.schema.loader.SchemaLoader.SchemaLoaderBuilder
 

I

id(String) - Method in class org.everit.json.schema.Schema.Builder
 
ifFalse(String, Boolean) - Method in class org.everit.json.schema.internal.JSONPrinter
 
ifIs(Class<E>) - Method in class org.everit.json.schema.loader.internal.TypeBasedMultiplexer
Creates a setter which will be invoked by TypeBasedMultiplexer.orElse(Consumer) or TypeBasedMultiplexer.requireAny() if obj is an instance of predicateClass.
ifObject() - Method in class org.everit.json.schema.loader.internal.TypeBasedMultiplexer
Creates a JSONObject consumer setter.
ifPresent(String, Object) - Method in class org.everit.json.schema.internal.JSONPrinter
 
ifTrue(String, Boolean) - Method in class org.everit.json.schema.internal.JSONPrinter
 
INSTANCE - Static variable in class org.everit.json.schema.BooleanSchema
 
INSTANCE - Static variable in class org.everit.json.schema.EmptySchema
 
INSTANCE - Static variable in class org.everit.json.schema.NullSchema
 
IPAddressValidator - Class in org.everit.json.schema.internal
Common superclass for IPV4Validator and IPV6Validator.
IPAddressValidator() - Constructor for class org.everit.json.schema.internal.IPAddressValidator
 
IPV4Validator - Class in org.everit.json.schema.internal
Implementation of the "ipv4" format value.
IPV4Validator() - Constructor for class org.everit.json.schema.internal.IPV4Validator
 
IPV6Validator - Class in org.everit.json.schema.internal
Implementation of the "ipv6" format value.
IPV6Validator() - Constructor for class org.everit.json.schema.internal.IPV6Validator
 
isExclusiveMaximum() - Method in class org.everit.json.schema.NumberSchema
 
isExclusiveMinimum() - Method in class org.everit.json.schema.NumberSchema
 

J

JSONPointer - Class in org.everit.json.schema.loader.internal
JSON pointer implementation.
JSONPointer(Supplier<JSONObject>, String) - Constructor for class org.everit.json.schema.loader.internal.JSONPointer
 
JSONPointer.QueryResult - Class in org.everit.json.schema.loader.internal
Data-transfer object for holding the result of a JSON pointer query.
JSONPrinter - Class in org.everit.json.schema.internal
 
JSONPrinter(Writer) - Constructor for class org.everit.json.schema.internal.JSONPrinter
 
JSONPrinter(JSONWriter) - Constructor for class org.everit.json.schema.internal.JSONPrinter
 

K

key(String) - Method in class org.everit.json.schema.internal.JSONPrinter
 

L

load(JSONObject) - Static method in class org.everit.json.schema.loader.SchemaLoader
Loads a JSON schema to a schema validator using a default HTTP client.
load(JSONObject, SchemaClient) - Static method in class org.everit.json.schema.loader.SchemaLoader
Creates Schema instance from its JSON representation.
load() - Method in class org.everit.json.schema.loader.SchemaLoader
Populates a Schema.Builder instance from the schemaJson schema definition.
load() - Method in class org.everit.json.schema.loader.StringSchemaLoader
 

M

maximum(Number) - Method in class org.everit.json.schema.NumberSchema.Builder
 
maxItems(Integer) - Method in class org.everit.json.schema.ArraySchema.Builder
 
maxLength(Integer) - Method in class org.everit.json.schema.StringSchema.Builder
 
maxProperties(Integer) - Method in class org.everit.json.schema.ObjectSchema.Builder
 
minimum(Number) - Method in class org.everit.json.schema.NumberSchema.Builder
 
minItems(Integer) - Method in class org.everit.json.schema.ArraySchema.Builder
 
minLength(Integer) - Method in class org.everit.json.schema.StringSchema.Builder
 
minProperties(Integer) - Method in class org.everit.json.schema.ObjectSchema.Builder
 
multipleOf(Number) - Method in class org.everit.json.schema.NumberSchema.Builder
 
mustNotMatch(Schema) - Method in class org.everit.json.schema.NotSchema.Builder
 

N

needsUniqueItems() - Method in class org.everit.json.schema.ArraySchema
 
NONE - Static variable in interface org.everit.json.schema.FormatValidator
No-operation implementation (never throws {always returns Optional.empty()).
NotSchema - Class in org.everit.json.schema
Not schema validator.
NotSchema(NotSchema.Builder) - Constructor for class org.everit.json.schema.NotSchema
 
NotSchema.Builder - Class in org.everit.json.schema
Builder class for NotSchema.
NullSchema - Class in org.everit.json.schema
Null schema validator.
NullSchema(NullSchema.Builder) - Constructor for class org.everit.json.schema.NullSchema
 
NullSchema.Builder - Class in org.everit.json.schema
Builder class for NullSchema.
NumberSchema - Class in org.everit.json.schema
Number schema validator.
NumberSchema() - Constructor for class org.everit.json.schema.NumberSchema
 
NumberSchema(NumberSchema.Builder) - Constructor for class org.everit.json.schema.NumberSchema
Constructor.
NumberSchema.Builder - Class in org.everit.json.schema
Builder class for NumberSchema.

O

object() - Method in class org.everit.json.schema.internal.JSONPrinter
 
ObjectComparator - Class in org.everit.json.schema
Deep-equals implementation on primitive wrappers, JSONObject and JSONArray.
ObjectSchema - Class in org.everit.json.schema
Object schema validator.
ObjectSchema(ObjectSchema.Builder) - Constructor for class org.everit.json.schema.ObjectSchema
Constructor.
ObjectSchema.Builder - Class in org.everit.json.schema
Builder class for ObjectSchema.
ONE_CRITERION - Static variable in class org.everit.json.schema.CombinedSchema
Validation criterion for oneOf schemas.
oneOf(Collection<Schema>) - Static method in class org.everit.json.schema.CombinedSchema
 
orElse(Consumer<Object>) - Method in class org.everit.json.schema.loader.internal.TypeBasedMultiplexer
Checks if the obj is an instance of any previously set classes (by TypeBasedMultiplexer.ifIs(Class) or TypeBasedMultiplexer.ifObject()), performs the mapped action of found or invokes orElseConsumer with the obj.
org.everit.json.schema - package org.everit.json.schema
 
org.everit.json.schema.internal - package org.everit.json.schema.internal
 
org.everit.json.schema.loader - package org.everit.json.schema.loader
 
org.everit.json.schema.loader.internal - package org.everit.json.schema.loader.internal
 

P

pattern(String) - Method in class org.everit.json.schema.StringSchema.Builder
 
patternProperty(Pattern, Schema) - Method in class org.everit.json.schema.ObjectSchema.Builder
 
patternProperty(String, Schema) - Method in class org.everit.json.schema.ObjectSchema.Builder
 
permitsAdditionalItems() - Method in class org.everit.json.schema.ArraySchema
 
permitsAdditionalProperties() - Method in class org.everit.json.schema.ObjectSchema
 
possibleValue(Object) - Method in class org.everit.json.schema.EnumSchema.Builder
 
possibleValues(Set<Object>) - Method in class org.everit.json.schema.EnumSchema.Builder
 
prepend(String) - Method in exception org.everit.json.schema.ValidationException
Creates a new ViolationException instance based on this one, but with changed JSON pointer.
prepend(String, Schema) - Method in exception org.everit.json.schema.ValidationException
Creates a new ViolationException instance based on this one, but with changed JSON pointer and {link violated schema.
printSchemaMap(Map<K, Schema>) - Method in class org.everit.json.schema.internal.JSONPrinter
 
propertyDependency(String, String) - Method in class org.everit.json.schema.ObjectSchema.Builder
Adds a property dependency.

Q

query() - Method in class org.everit.json.schema.loader.internal.JSONPointer
Queries from document based on this pointer.
QueryResult(JSONObject, JSONObject) - Constructor for class org.everit.json.schema.loader.internal.JSONPointer.QueryResult
Constructor.

R

ReferenceResolver - Class in org.everit.json.schema.loader.internal
Resolves an id or ref against a parent scope.
ReferenceSchema - Class in org.everit.json.schema
This class is used by SchemaLoader to resolve JSON pointers during the construction of the schema.
ReferenceSchema(ReferenceSchema.Builder) - Constructor for class org.everit.json.schema.ReferenceSchema
 
ReferenceSchema.Builder - Class in org.everit.json.schema
Builder class for ReferenceSchema.
refValue(String) - Method in class org.everit.json.schema.ReferenceSchema.Builder
 
requireAny() - Method in class org.everit.json.schema.loader.internal.TypeBasedMultiplexer
Checks if the obj is an instance of any previously set classes (by TypeBasedMultiplexer.ifIs(Class) or TypeBasedMultiplexer.ifObject()), performs the mapped action of found or throws with a SchemaException.
requiresArray(boolean) - Method in class org.everit.json.schema.ArraySchema.Builder
 
requiresArray() - Method in class org.everit.json.schema.ArraySchema
 
requiresInteger(boolean) - Method in class org.everit.json.schema.NumberSchema.Builder
 
requiresInteger() - Method in class org.everit.json.schema.NumberSchema
 
requiresNumber(boolean) - Method in class org.everit.json.schema.NumberSchema.Builder
 
requiresObject(boolean) - Method in class org.everit.json.schema.ObjectSchema.Builder
 
requiresObject() - Method in class org.everit.json.schema.ObjectSchema
 
requiresString(boolean) - Method in class org.everit.json.schema.StringSchema.Builder
 
resolutionScope(String) - Method in class org.everit.json.schema.loader.SchemaLoader.SchemaLoaderBuilder
Sets the initial resolution scope of the schema.
resolutionScope(URI) - Method in class org.everit.json.schema.loader.SchemaLoader.SchemaLoaderBuilder
 
resolutionScopeChanged(URI) - Method in interface org.everit.json.schema.loader.internal.ResolutionScopeChangeListener
 
ResolutionScopeChangeListener - Interface in org.everit.json.schema.loader.internal
Event handler interface used by TypeBasedMultiplexer to notify client(s) (which is currently a schema loader instance) about resolution scope changes.
resolve(URI, String) - Static method in class org.everit.json.schema.loader.internal.ReferenceResolver
Creates an absolute JSON pointer string based on a parent scope and a newly encountered pointer segment (id or ref value).
resolve(String, String) - Static method in class org.everit.json.schema.loader.internal.ReferenceResolver
Creates an absolute JSON pointer string based on a parent scope and a newly encountered pointer segment (id or ref value).

S

Schema - Class in org.everit.json.schema
Superclass of all other schema validator classes of this package.
Schema(Schema.Builder<?>) - Constructor for class org.everit.json.schema.Schema
Constructor.
Schema.Builder<S extends Schema> - Class in org.everit.json.schema
Abstract builder class for the builder classes of Schema subclasses.
SchemaClient - Interface in org.everit.json.schema.loader
This interface is used by SchemaLoader to fetch the contents denoted by remote JSON pointer.
schemaDependency(String, Schema) - Method in class org.everit.json.schema.ObjectSchema.Builder
 
SchemaException - Exception in org.everit.json.schema
Thrown by SchemaLoader.load() when it encounters un-parseable schema JSON definition.
SchemaException(String) - Constructor for exception org.everit.json.schema.SchemaException
 
SchemaException(String, Class<?>, Object) - Constructor for exception org.everit.json.schema.SchemaException
 
SchemaException(String, List<Class<?>>, Object) - Constructor for exception org.everit.json.schema.SchemaException
 
SchemaException(String, Throwable) - Constructor for exception org.everit.json.schema.SchemaException
 
schemaJson(JSONObject) - Method in class org.everit.json.schema.loader.SchemaLoader.SchemaLoaderBuilder
 
SchemaLoader - Class in org.everit.json.schema.loader
Loads a JSON schema's JSON representation into schema validator instances.
SchemaLoader(SchemaLoader.SchemaLoaderBuilder) - Constructor for class org.everit.json.schema.loader.SchemaLoader
Constructor.
SchemaLoader.SchemaLoaderBuilder - Class in org.everit.json.schema.loader
Builder class for SchemaLoader.
SchemaLoaderBuilder() - Constructor for class org.everit.json.schema.loader.SchemaLoader.SchemaLoaderBuilder
 
schemaOfAdditionalItems(Schema) - Method in class org.everit.json.schema.ArraySchema.Builder
 
schemaOfAdditionalProperties(Schema) - Method in class org.everit.json.schema.ObjectSchema.Builder
 
setReferredSchema(Schema) - Method in class org.everit.json.schema.ReferenceSchema
Called by SchemaLoader.load() to set the referred root schema after completing the loading process of the entire schema document.
StringSchema - Class in org.everit.json.schema
String schema validator.
StringSchema() - Constructor for class org.everit.json.schema.StringSchema
 
StringSchema(StringSchema.Builder) - Constructor for class org.everit.json.schema.StringSchema
Constructor.
StringSchema.Builder - Class in org.everit.json.schema
Builder class for StringSchema.
StringSchemaLoader - Class in org.everit.json.schema.loader
 
StringSchemaLoader(LoadingState) - Constructor for class org.everit.json.schema.loader.StringSchemaLoader
 
subschema(Schema) - Method in class org.everit.json.schema.CombinedSchema.Builder
 
subschemas(Collection<Schema>) - Method in class org.everit.json.schema.CombinedSchema.Builder
 

T

then(Consumer<E>) - Method in interface org.everit.json.schema.loader.internal.TypeBasedMultiplexer.OnTypeConsumer
Sets the callback (consumer) to be called if the type of obj is the previously set predicateClass.
throwFor(Schema, List<ValidationException>) - Static method in exception org.everit.json.schema.ValidationException
Sort of static factory method.
title(String) - Method in class org.everit.json.schema.Schema.Builder
 
toJSON() - Method in exception org.everit.json.schema.ValidationException
Creates a JSON representation of the failure.
toString() - Method in class org.everit.json.schema.Schema
 
TypeBasedMultiplexer - Class in org.everit.json.schema.loader.internal
Used by org.everit.json.schema.loader.SchemaLoader.SchemaLoader during schema loading for type-based action selections.
TypeBasedMultiplexer(Object) - Constructor for class org.everit.json.schema.loader.internal.TypeBasedMultiplexer
Constructor with null keyOfObj and null id.
TypeBasedMultiplexer(String, Object) - Constructor for class org.everit.json.schema.loader.internal.TypeBasedMultiplexer
Contstructor with null id.
TypeBasedMultiplexer(String, Object, URI) - Constructor for class org.everit.json.schema.loader.internal.TypeBasedMultiplexer
Constructor.
TypeBasedMultiplexer.OnTypeConsumer<E> - Interface in org.everit.json.schema.loader.internal
Created and used by TypeBasedMultiplexer to set actions (consumers) for matching classes.

U

uniqueItems(boolean) - Method in class org.everit.json.schema.ArraySchema.Builder
 
URIFormatValidator - Class in org.everit.json.schema.internal
Implementation of the "uri" format value.
URIFormatValidator() - Constructor for class org.everit.json.schema.internal.URIFormatValidator
 

V

validate(Object) - Method in class org.everit.json.schema.ArraySchema
 
validate(Object) - Method in class org.everit.json.schema.BooleanSchema
 
validate(Object) - Method in class org.everit.json.schema.CombinedSchema
 
validate(int, int) - Method in interface org.everit.json.schema.CombinedSchema.ValidationCriterion
Throws a ValidationException if the implemented criterion is not fulfilled by the subschemaCount and the matchingSubschemaCount.
validate(Object) - Method in class org.everit.json.schema.EmptySchema
 
validate(Object) - Method in class org.everit.json.schema.EnumSchema
 
validate(String) - Method in interface org.everit.json.schema.FormatValidator
Implementation-specific validation of subject.
validate(String) - Method in class org.everit.json.schema.internal.DateTimeFormatValidator
 
validate(String) - Method in class org.everit.json.schema.internal.EmailFormatValidator
 
validate(String) - Method in class org.everit.json.schema.internal.HostnameFormatValidator
 
validate(String) - Method in class org.everit.json.schema.internal.IPV4Validator
 
validate(String) - Method in class org.everit.json.schema.internal.IPV6Validator
 
validate(String) - Method in class org.everit.json.schema.internal.URIFormatValidator
 
validate(String) - Method in class org.everit.json.schema.loader.internal.WrappingFormatValidator
 
validate(Object) - Method in class org.everit.json.schema.NotSchema
 
validate(Object) - Method in class org.everit.json.schema.NullSchema
 
validate(Object) - Method in class org.everit.json.schema.NumberSchema
 
validate(Object) - Method in class org.everit.json.schema.ObjectSchema
 
validate(Object) - Method in class org.everit.json.schema.ReferenceSchema
 
validate(Object) - Method in class org.everit.json.schema.Schema
Performs the schema validation.
validate(Object) - Method in class org.everit.json.schema.StringSchema
 
ValidationException - Exception in org.everit.json.schema
Thrown by Schema subclasses on validation failure.
ValidationException(Class<?>, Object) - Constructor for exception org.everit.json.schema.ValidationException
Deprecated.
ValidationException(Schema, Class<?>, Object) - Constructor for exception org.everit.json.schema.ValidationException
Constructor, creates an instance with keyword="type".
ValidationException(Schema, Class<?>, Object, String) - Constructor for exception org.everit.json.schema.ValidationException
Constructor for type-mismatch failures.
ValidationException(Schema, String) - Constructor for exception org.everit.json.schema.ValidationException
Deprecated.
use one of the constructors which explicitly specify the violated keyword instead
ValidationException(Schema, String, String) - Constructor for exception org.everit.json.schema.ValidationException
Constructor.
ValidationException(String) - Constructor for exception org.everit.json.schema.ValidationException
Deprecated.
ValidationException(Schema, String, List<ValidationException>) - Constructor for exception org.everit.json.schema.ValidationException
Deprecated.
use one of the constructors which explicitly specify the keyword instead
value(Object) - Method in class org.everit.json.schema.internal.JSONPrinter
 

W

WrappingFormatValidator - Class in org.everit.json.schema.loader.internal
 
WrappingFormatValidator(String, FormatValidator) - Constructor for class org.everit.json.schema.loader.internal.WrappingFormatValidator
 
A B C D E F G H I J K L M N O P Q R S T U V W 
Skip navigation links

Copyright © 2017 Everit Kft.. All rights reserved.