A B C D E F G H I J K L M N O P Q R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- accept(URI) - Method in interface org.everit.json.schema.loader.internal.ResolutionScopeChangeListener
- accept(Visitor) - Method in class org.everit.json.schema.EnumSchema
- addFormatValidator(String, FormatValidator) - Method in class org.everit.json.schema.loader.SchemaLoader.SchemaLoaderBuilder
-
Deprecated.instead it is better to override
FormatValidator.formatName()
and useSchemaLoader.SchemaLoaderBuilder.addFormatValidator(FormatValidator)
- addFormatValidator(FormatValidator) - Method in class org.everit.json.schema.loader.SchemaLoader.SchemaLoaderBuilder
-
Registers a format validator with the name returned by
FormatValidator.formatName()
. - 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
- addPointerSegment(String) - Method in class org.everit.json.schema.SchemaLocation
- 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
-
Deprecated.
- 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
- append(int) - Method in class org.everit.json.schema.JSONPointer.Builder
-
Adds an integer to the reference token list.
- append(String) - Method in class org.everit.json.schema.JSONPointer.Builder
-
Adds an arbitrary token to the list of reference tokens.
- 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
-
Deprecated.Creates an
InetAddress
instance if possible and returns it, or on failure it returnsOptional.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.ConditionalSchema.Builder
- build() - Method in class org.everit.json.schema.ConstSchema.ConstSchemaBuilder
- 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.FalseSchema.Builder
- build() - Method in class org.everit.json.schema.JSONPointer.Builder
-
Creates a
JSONPointer
instance using the tokens previously set using theJSONPointer.Builder.append(String)
method calls. - 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
- build() - Method in class org.everit.json.schema.TrueSchema.Builder
- build() - Method in class org.everit.json.schema.Validator.ValidatorBuilder
- builder() - Static method in class org.everit.json.schema.ArraySchema
- builder() - Static method in class org.everit.json.schema.BooleanSchema
- builder() - Static method in class org.everit.json.schema.CombinedSchema
- builder() - Static method in class org.everit.json.schema.ConditionalSchema
- builder() - Static method in class org.everit.json.schema.ConstSchema
- builder() - Static method in class org.everit.json.schema.EmptySchema
- builder() - Static method in class org.everit.json.schema.EnumSchema
- builder() - Static method in class org.everit.json.schema.FalseSchema
- builder() - Static method in class org.everit.json.schema.JSONPointer
-
Static factory method for
JSONPointer.Builder
. - builder() - Static method in class org.everit.json.schema.loader.SchemaLoader
- builder() - Static method in class org.everit.json.schema.NotSchema
- builder() - Static method in class org.everit.json.schema.NullSchema
- builder() - Static method in class org.everit.json.schema.NumberSchema
- builder() - Static method in class org.everit.json.schema.ObjectSchema
- builder() - Static method in class org.everit.json.schema.ReferenceSchema
- builder() - Static method in class org.everit.json.schema.StringSchema
- builder() - Static method in class org.everit.json.schema.TrueSchema
- builder() - Static method in interface org.everit.json.schema.Validator
- builder(Collection<Schema>) - Static method in class org.everit.json.schema.CombinedSchema
- Builder() - Constructor for class org.everit.json.schema.ArraySchema.Builder
- Builder() - Constructor for class org.everit.json.schema.BooleanSchema.Builder
- Builder() - Constructor for class org.everit.json.schema.CombinedSchema.Builder
- Builder() - Constructor for class org.everit.json.schema.ConditionalSchema.Builder
- Builder() - Constructor for class org.everit.json.schema.EmptySchema.Builder
- Builder() - Constructor for class org.everit.json.schema.EnumSchema.Builder
- Builder() - Constructor for class org.everit.json.schema.FalseSchema.Builder
- Builder() - Constructor for class org.everit.json.schema.JSONPointer.Builder
- Builder() - Constructor for class org.everit.json.schema.NotSchema.Builder
- Builder() - Constructor for class org.everit.json.schema.NullSchema.Builder
- Builder() - Constructor for class org.everit.json.schema.NumberSchema.Builder
- Builder() - Constructor for class org.everit.json.schema.ObjectSchema.Builder
- Builder() - Constructor for class org.everit.json.schema.ReferenceSchema.Builder
- Builder() - Constructor for class org.everit.json.schema.Schema.Builder
- Builder() - Constructor for class org.everit.json.schema.StringSchema.Builder
- Builder() - Constructor for class org.everit.json.schema.TrueSchema.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
- checkEscaping(String) - Method in class org.everit.json.schema.internal.JsonPointerFormatValidator
- checkIpAddress(String, int, String) - Method in class org.everit.json.schema.internal.IPAddressValidator
-
Deprecated.Checks an IP address.
- classPathAwareClient() - Static method in interface org.everit.json.schema.loader.SchemaClient
- 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.
- combinedSchemaMatch(CombinedSchemaMatchEvent) - Method in interface org.everit.json.schema.event.ValidationListener
-
Called when a
CombinedSchema
's given subschema matches the instance. - CombinedSchemaMatchEvent - Class in org.everit.json.schema.event
- CombinedSchemaMatchEvent(CombinedSchema, Schema, Object) - Constructor for class org.everit.json.schema.event.CombinedSchemaMatchEvent
- combinedSchemaMismatch(CombinedSchemaMismatchEvent) - Method in interface org.everit.json.schema.event.ValidationListener
-
Called when a
CombinedSchema
's given subschema does not match the instance. - CombinedSchemaMismatchEvent - Class in org.everit.json.schema.event
- CombinedSchemaMismatchEvent(CombinedSchema, Schema, Object, ValidationException) - Constructor for class org.everit.json.schema.event.CombinedSchemaMismatchEvent
- CombinedSchemaValidationEvent - Class in org.everit.json.schema.event
- CombinedSchemaValidationEvent(CombinedSchema, Schema, Object) - Constructor for class org.everit.json.schema.event.CombinedSchemaValidationEvent
- ConditionalSchema - Class in org.everit.json.schema
-
Validator for
if
,then
,else
schemas. - ConditionalSchema(ConditionalSchema.Builder) - Constructor for class org.everit.json.schema.ConditionalSchema
- ConditionalSchema.Builder - Class in org.everit.json.schema
-
Builder class for
ConditionalSchema
. - ConditionalSchemaMatchEvent - Class in org.everit.json.schema.event
- ConditionalSchemaMatchEvent(ConditionalSchema, Object, ConditionalSchemaValidationEvent.Keyword) - Constructor for class org.everit.json.schema.event.ConditionalSchemaMatchEvent
- ConditionalSchemaMismatchEvent - Class in org.everit.json.schema.event
- ConditionalSchemaMismatchEvent(ConditionalSchema, Object, ConditionalSchemaValidationEvent.Keyword, ValidationException) - Constructor for class org.everit.json.schema.event.ConditionalSchemaMismatchEvent
- ConditionalSchemaValidationEvent - Class in org.everit.json.schema.event
- ConditionalSchemaValidationEvent(ConditionalSchema, Object, ConditionalSchemaValidationEvent.Keyword) - Constructor for class org.everit.json.schema.event.ConditionalSchemaValidationEvent
- ConditionalSchemaValidationEvent.Keyword - Enum in org.everit.json.schema.event
- ConstSchema - Class in org.everit.json.schema
- ConstSchema(ConstSchema.ConstSchemaBuilder) - Constructor for class org.everit.json.schema.ConstSchema
- ConstSchema.ConstSchemaBuilder - Class in org.everit.json.schema
- ConstSchemaBuilder() - Constructor for class org.everit.json.schema.ConstSchema.ConstSchemaBuilder
- containsItemSchema(Schema) - Method in class org.everit.json.schema.ArraySchema.Builder
- copy() - Method in class org.everit.json.schema.ReferenceSchema.Builder
- createHandler(String) - Method in class org.everit.json.schema.regexp.JavaUtilRegexpFactory
- createHandler(String) - Method in class org.everit.json.schema.regexp.RE2JRegexpFactory
- createHandler(String) - Method in interface org.everit.json.schema.regexp.RegexpFactory
- criterion(CombinedSchema.ValidationCriterion) - Method in class org.everit.json.schema.CombinedSchema.Builder
D
- DateFormatValidator - Class in org.everit.json.schema.internal
-
Implementation of the "date" format value.
- DateFormatValidator() - Constructor for class org.everit.json.schema.internal.DateFormatValidator
- 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
andJSONArray
. - DefaultSchemaClient - Class in org.everit.json.schema.loader.internal
-
A
SchemaClient
implementation which usesURL
for reading the remote content. - DefaultSchemaClient() - Constructor for class org.everit.json.schema.loader.internal.DefaultSchemaClient
- defaultValue(Object) - Method in class org.everit.json.schema.Schema.Builder
- 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 byfield
. - describeTo(JSONPrinter) - Method in class org.everit.json.schema.Schema
-
Describes the instance as a JSONObject to
writer
. - describeTo(JSONPrinter) - Method in class org.everit.json.schema.TrueSchema
- description(String) - Method in class org.everit.json.schema.ReferenceSchema.Builder
- description(String) - Method in class org.everit.json.schema.Schema.Builder
- DRAFT_4 - org.everit.json.schema.loader.SpecificationVersion
- DRAFT_6 - org.everit.json.schema.loader.SpecificationVersion
- DRAFT_7 - org.everit.json.schema.loader.SpecificationVersion
- draftV6Support() - Method in class org.everit.json.schema.loader.SchemaLoader.SchemaLoaderBuilder
- draftV7Support() - Method in class org.everit.json.schema.loader.SchemaLoader.SchemaLoaderBuilder
E
- ELSE - org.everit.json.schema.event.ConditionalSchemaValidationEvent.Keyword
- elseSchema(Schema) - Method in class org.everit.json.schema.ConditionalSchema.Builder
- elseSchemaMatch(ConditionalSchemaMatchEvent) - Method in interface org.everit.json.schema.event.ValidationListener
-
Called when the instance passes the validation against a
"else"
schema. - elseSchemaMismatch(ConditionalSchemaMismatchEvent) - Method in interface org.everit.json.schema.event.ValidationListener
-
Called when the instance does not pass the validation against a
"else"
schema. - EmailFormatValidator - Class in org.everit.json.schema.internal
-
Implementation of the "email" format value.
- EmailFormatValidator() - Constructor for class org.everit.json.schema.internal.EmailFormatValidator
- empty() - Static method in class org.everit.json.schema.SchemaLocation
- 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
. - enableOverrideOfBuiltInFormatValidators() - Method in class org.everit.json.schema.loader.SchemaLoader.SchemaLoaderBuilder
- 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.event.CombinedSchemaMatchEvent
- equals(Object) - Method in class org.everit.json.schema.event.CombinedSchemaMismatchEvent
- equals(Object) - Method in class org.everit.json.schema.event.CombinedSchemaValidationEvent
- equals(Object) - Method in class org.everit.json.schema.event.ConditionalSchemaMatchEvent
- equals(Object) - Method in class org.everit.json.schema.event.ConditionalSchemaMismatchEvent
- equals(Object) - Method in class org.everit.json.schema.event.ConditionalSchemaValidationEvent
- equals(Object) - Method in class org.everit.json.schema.event.SchemaReferencedEvent
- equals(Object) - Method in class org.everit.json.schema.event.ValidationEvent
- 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.regexp.RegexpMatchingFailure
- equals(Object) - Method in class org.everit.json.schema.Schema
- equals(Object) - Method in exception org.everit.json.schema.SchemaException
- equals(Object) - Method in class org.everit.json.schema.SchemaLocation
- equals(Object) - Method in class org.everit.json.schema.StringSchema
- equals(Object) - Method in class org.everit.json.schema.TrueSchema
- equals(Object) - Method in exception org.everit.json.schema.ValidationException
- exclusiveMaximum(boolean) - Method in class org.everit.json.schema.NumberSchema.Builder
- exclusiveMaximum(Number) - Method in class org.everit.json.schema.NumberSchema.Builder
- exclusiveMinimum(boolean) - Method in class org.everit.json.schema.NumberSchema.Builder
- exclusiveMinimum(Number) - Method in class org.everit.json.schema.NumberSchema.Builder
F
- failEarly() - Method in class org.everit.json.schema.Validator.ValidatorBuilder
- failure(Class<?>, Object) - Method in class org.everit.json.schema.Schema
-
Deprecated.
- failure(String) - Method in class org.everit.json.schema.internal.JsonPointerFormatValidator
- failure(String) - Method in class org.everit.json.schema.internal.URIFormatValidator
-
Deprecated.use
Optional.of(String.format("[%s] is not a valid URI", subject))
instead - failure(String) - Method in class org.everit.json.schema.internal.URIReferenceFormatValidator
- failure(String) - Method in class org.everit.json.schema.internal.URIV4FormatValidator
- failure(String, String) - Method in class org.everit.json.schema.Schema
-
Deprecated.
- FalseSchema - Class in org.everit.json.schema
- FalseSchema(FalseSchema.Builder) - Constructor for class org.everit.json.schema.FalseSchema
-
Constructor.
- FalseSchema.Builder - Class in org.everit.json.schema
- forDocument(JSONObject, String) - Static method in class org.everit.json.schema.loader.internal.JSONPointer
-
Deprecated.
- forFormat(String) - Static method in interface org.everit.json.schema.FormatValidator
-
Static factory method for
FormatValidator
implementations supporting theformatName
s 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.DateFormatValidator
- 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.JsonPointerFormatValidator
- formatName() - Method in class org.everit.json.schema.internal.RegexFormatValidator
- formatName() - Method in class org.everit.json.schema.internal.RelativeJsonPointerFormatValidator
- formatName() - Method in class org.everit.json.schema.internal.TimeFormatValidator
- formatName() - Method in class org.everit.json.schema.internal.URIFormatValidator
- formatName() - Method in class org.everit.json.schema.internal.URIReferenceFormatValidator
- formatName() - Method in class org.everit.json.schema.internal.URITemplateFormatValidator
- formatName() - Method in class org.everit.json.schema.internal.URIV4FormatValidator
- formatName() - Method in class org.everit.json.schema.loader.internal.WrappingFormatValidator
- formatValidator(FormatValidator) - Method in class org.everit.json.schema.StringSchema.Builder
-
Setter for the format validator.
- FormatValidator - Interface in org.everit.json.schema
-
Implementations perform the validation against the "format" keyword (see JSON Schema spec section 7).
- forURL(SchemaClient, String) - Static method in class org.everit.json.schema.loader.internal.JSONPointer
-
Deprecated.
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
- getContainedItemSchema() - Method in class org.everit.json.schema.ArraySchema
- getContainingDocument() - Method in class org.everit.json.schema.loader.internal.JSONPointer.QueryResult
-
Deprecated.Getter for
JSONPointer.QueryResult.containingDocument
. - getCriterion() - Method in class org.everit.json.schema.CombinedSchema
- getDefaultValue() - Method in class org.everit.json.schema.Schema
- getDescription() - Method in class org.everit.json.schema.ReferenceSchema
- getDescription() - Method in class org.everit.json.schema.Schema
- getElseSchema() - Method in class org.everit.json.schema.ConditionalSchema
- getErrorMessage() - Method in exception org.everit.json.schema.ValidationException
-
Returns a programmer-readable error description.
- getExclusiveMaximumLimit() - Method in class org.everit.json.schema.NumberSchema
- getExclusiveMinimumLimit() - Method in class org.everit.json.schema.NumberSchema
- getFailure() - Method in class org.everit.json.schema.event.CombinedSchemaMismatchEvent
- getFailure() - Method in class org.everit.json.schema.event.ConditionalSchemaMismatchEvent
- getFailure() - Method in interface org.everit.json.schema.event.MismatchEvent
- getFormatValidator() - Method in class org.everit.json.schema.StringSchema
- getId() - Method in class org.everit.json.schema.Schema
- getIfSchema() - Method in class org.everit.json.schema.ConditionalSchema
- getItemSchemas() - Method in class org.everit.json.schema.ArraySchema
- getKeyword() - Method in class org.everit.json.schema.event.ConditionalSchemaValidationEvent
- getKeyword() - Method in exception org.everit.json.schema.ValidationException
- getLocation() - Method in class org.everit.json.schema.ReferenceSchema
- getLocation() - Method in class org.everit.json.schema.Schema
- 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
- getNames(JSONObject) - Static method in class org.everit.json.schema.loader.OrgJsonUtil
- getPattern() - Method in class org.everit.json.schema.StringSchema
- getPatternProperties() - Method in class org.everit.json.schema.ObjectSchema
-
Deprecated.
- getPermittedValue() - Method in class org.everit.json.schema.ConstSchema
- 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
- getPossibleValuesAsList() - Method in class org.everit.json.schema.EnumSchema
- getPropertyDependencies() - Method in class org.everit.json.schema.ObjectSchema
- getPropertyNameSchema() - 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
-
Deprecated.Getter for
JSONPointer.QueryResult.queryResult
. - getReferredSchema() - Method in class org.everit.json.schema.event.SchemaReferencedEvent
- 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
-
Deprecated.
- getSchema() - Method in class org.everit.json.schema.event.ValidationEvent
- getSchemaDependencies() - Method in class org.everit.json.schema.ObjectSchema
- getSchemaLocation() - Method in class org.everit.json.schema.Schema
- getSchemaLocation() - Method in exception org.everit.json.schema.SchemaException
- getSchemaLocation() - Method in exception org.everit.json.schema.ValidationException
- getSchemaOfAdditionalItems() - Method in class org.everit.json.schema.ArraySchema
- getSchemaOfAdditionalProperties() - Method in class org.everit.json.schema.ObjectSchema
- getSubSchema() - Method in class org.everit.json.schema.event.CombinedSchemaValidationEvent
- getSubschemas() - Method in class org.everit.json.schema.CombinedSchema
- getThenSchema() - Method in class org.everit.json.schema.ConditionalSchema
- getTitle() - Method in class org.everit.json.schema.ReferenceSchema
- getTitle() - Method in class org.everit.json.schema.Schema
- getUnprocessedProperties() - Method in class org.everit.json.schema.ReferenceSchema
- getUnprocessedProperties() - Method in class org.everit.json.schema.Schema
-
Returns the properties of the original schema JSON which aren't keywords of json schema (therefore they weren't recognized during schema loading).
- getViolatedSchema() - Method in exception org.everit.json.schema.ValidationException
- getViolationCount() - Method in exception org.everit.json.schema.ValidationException
H
- hasDefaultValue() - Method in class org.everit.json.schema.Schema
- hashCode() - Method in class org.everit.json.schema.ArraySchema
- 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.event.CombinedSchemaMismatchEvent
- hashCode() - Method in class org.everit.json.schema.event.CombinedSchemaValidationEvent
- hashCode() - Method in class org.everit.json.schema.event.ConditionalSchemaMismatchEvent
- hashCode() - Method in class org.everit.json.schema.event.ConditionalSchemaValidationEvent
- hashCode() - Method in class org.everit.json.schema.event.SchemaReferencedEvent
- hashCode() - Method in class org.everit.json.schema.event.ValidationEvent
- 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 exception org.everit.json.schema.SchemaException
- hashCode() - Method in class org.everit.json.schema.SchemaLocation
- hashCode() - Method in class org.everit.json.schema.StringSchema
- hashCode() - Method in exception org.everit.json.schema.ValidationException
- 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
-
Deprecated.
I
- id(String) - Method in class org.everit.json.schema.Schema.Builder
- idKeyword() - Method in enum org.everit.json.schema.loader.SpecificationVersion
- IF - org.everit.json.schema.event.ConditionalSchemaValidationEvent.Keyword
- 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
-
Deprecated.Creates a setter which will be invoked by
TypeBasedMultiplexer.orElse(Consumer)
orTypeBasedMultiplexer.requireAny()
ifobj
is an instance ofpredicateClass
. - ifObject() - Method in class org.everit.json.schema.loader.internal.TypeBasedMultiplexer
-
Deprecated.Creates a
JSONObject
consumer setter. - ifPresent(String, Object) - Method in class org.everit.json.schema.internal.JSONPrinter
- ifSchema(Schema) - Method in class org.everit.json.schema.ConditionalSchema.Builder
- ifSchemaMatch(ConditionalSchemaMatchEvent) - Method in interface org.everit.json.schema.event.ValidationListener
-
Called when an
"if"
schema matches. - ifSchemaMismatch(ConditionalSchemaMismatchEvent) - Method in interface org.everit.json.schema.event.ValidationListener
-
Called when the instance does not pass the validation against an
"if"
schema. - ifTrue(String, Boolean) - Method in class org.everit.json.schema.internal.JSONPrinter
- instance - Variable in class org.everit.json.schema.event.ValidationEvent
- 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.FalseSchema
- INSTANCE - Static variable in class org.everit.json.schema.NullSchema
- IPAddressValidator - Class in org.everit.json.schema.internal
-
Deprecated.
- IPAddressValidator() - Constructor for class org.everit.json.schema.internal.IPAddressValidator
-
Deprecated.
- 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
- isAtLeast(SpecificationVersion) - Method in enum org.everit.json.schema.loader.SpecificationVersion
- isExclusiveMaximum() - Method in class org.everit.json.schema.NumberSchema
- isExclusiveMinimum() - Method in class org.everit.json.schema.NumberSchema
- isNullable() - Method in class org.everit.json.schema.Schema
- isReadOnly() - Method in class org.everit.json.schema.Schema
- isRequiresNumber() - Method in class org.everit.json.schema.NumberSchema
- isSynthetic(boolean) - Method in class org.everit.json.schema.CombinedSchema.Builder
- isWriteOnly() - Method in class org.everit.json.schema.Schema
J
- JavaUtilRegexpFactory - Class in org.everit.json.schema.regexp
- JavaUtilRegexpFactory() - Constructor for class org.everit.json.schema.regexp.JavaUtilRegexpFactory
- JSONPointer - Class in org.everit.json.schema
-
A JSON Pointer is a simple query language defined for JSON documents by RFC 6901.
- JSONPointer - Class in org.everit.json.schema.loader.internal
-
Deprecated.
- JSONPointer(String) - Constructor for class org.everit.json.schema.JSONPointer
-
Pre-parses and initializes a new
JSONPointer
instance. - JSONPointer(Supplier<JSONObject>, String) - Constructor for class org.everit.json.schema.loader.internal.JSONPointer
-
Deprecated.
- JSONPointer(List<String>) - Constructor for class org.everit.json.schema.JSONPointer
- JSONPointer.Builder - Class in org.everit.json.schema
-
This class allows the user to build a JSONPointer in steps, using exactly one segment in each step.
- JSONPointer.QueryResult - Class in org.everit.json.schema.loader.internal
-
Deprecated.Data-transfer object for holding the result of a JSON pointer query.
- JSONPointerException - Exception in org.everit.json.schema
-
The JSONPointerException is thrown by
JSONPointer
if an error occurs during evaluating a pointer. - JSONPointerException(String) - Constructor for exception org.everit.json.schema.JSONPointerException
- JSONPointerException(String, Throwable) - Constructor for exception org.everit.json.schema.JSONPointerException
- JsonPointerFormatValidator - Class in org.everit.json.schema.internal
- JsonPointerFormatValidator() - Constructor for class org.everit.json.schema.internal.JsonPointerFormatValidator
- 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
- 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() - Method in class org.everit.json.schema.loader.SchemaLoader
-
Populates a
Schema.Builder
instance from theschemaJson
schema definition. - load() - Method in class org.everit.json.schema.loader.StringSchemaLoader
- 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.
- lookupByMetaSchemaUrl(String) - Static method in enum org.everit.json.schema.loader.SpecificationVersion
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
- MismatchEvent - Interface in org.everit.json.schema.event
- 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()
). - NOOP - Static variable in interface org.everit.json.schema.event.ValidationListener
-
Default no-operation implementation
- 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
. - nullable(Boolean) - Method in class org.everit.json.schema.Schema.Builder
- nullableSupport(boolean) - Method in class org.everit.json.schema.loader.SchemaLoader.SchemaLoaderBuilder
- 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
. - NumberComparator - Class in org.everit.json.schema
- NumberComparator() - Constructor for class org.everit.json.schema.NumberComparator
- 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
andJSONArray
. - 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
- oneOrMoreDefaultProperty - Variable in class org.everit.json.schema.ObjectSchema.Builder
- orElse(Consumer<Object>) - Method in class org.everit.json.schema.loader.internal.TypeBasedMultiplexer
-
Deprecated.Checks if the
obj
is an instance of any previously set classes (byTypeBasedMultiplexer.ifIs(Class)
orTypeBasedMultiplexer.ifObject()
), performs the mapped action of found or invokesorElseConsumer
with theobj
. - org.everit.json.schema - package org.everit.json.schema
- org.everit.json.schema.event - package org.everit.json.schema.event
- 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
- org.everit.json.schema.regexp - package org.everit.json.schema.regexp
- OrgJsonUtil - Class in org.everit.json.schema.loader
-
Utility class simplifying working with org.json.JSONObject and JSONArray in a way that it also works on android.
P
- parseURI(String) - Static method in class org.everit.json.schema.SchemaLocation
- pattern(String) - Method in class org.everit.json.schema.StringSchema.Builder
- pattern(Regexp) - Method in class org.everit.json.schema.StringSchema.Builder
- patternMatchingFailure(String) - Method in interface org.everit.json.schema.regexp.Regexp
- patternProperty(String, Schema) - Method in class org.everit.json.schema.ObjectSchema.Builder
-
Deprecated.
- patternProperty(Pattern, Schema) - Method in class org.everit.json.schema.ObjectSchema.Builder
-
Deprecated.
- patternProperty(Regexp, Schema) - Method in class org.everit.json.schema.ObjectSchema.Builder
- performValidation(Schema, Object) - Method in interface org.everit.json.schema.Validator
- permitsAdditionalItems() - Method in class org.everit.json.schema.ArraySchema
- permitsAdditionalProperties() - Method in class org.everit.json.schema.ObjectSchema
- permittedValue(Object) - Method in class org.everit.json.schema.ConstSchema.ConstSchemaBuilder
- possibleValue(Object) - Method in class org.everit.json.schema.EnumSchema.Builder
- possibleValues(List<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 changedJSON pointer
. - prepend(String, Schema) - Method in exception org.everit.json.schema.ValidationException
-
Creates a new
ViolationException
instance based on this one, but with changedJSON pointer
and {linkviolated 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.
- propertyNameSchema(Schema) - Method in class org.everit.json.schema.ObjectSchema.Builder
Q
- query() - Method in class org.everit.json.schema.loader.internal.JSONPointer
-
Deprecated.Queries from
document
based on this pointer. - queryFrom(Object) - Method in class org.everit.json.schema.JSONPointer
-
Evaluates this JSON Pointer on the given
document
. - QueryResult(JSONObject, JSONObject) - Constructor for class org.everit.json.schema.loader.internal.JSONPointer.QueryResult
-
Deprecated.Constructor.
R
- RE2JRegexpFactory - Class in org.everit.json.schema.regexp
- RE2JRegexpFactory() - Constructor for class org.everit.json.schema.regexp.RE2JRegexpFactory
- READ - org.everit.json.schema.ReadWriteContext
- readOnly(Boolean) - Method in class org.everit.json.schema.Schema.Builder
- readWriteContext(ReadWriteContext) - Method in class org.everit.json.schema.Validator.ValidatorBuilder
- ReadWriteContext - Enum in org.everit.json.schema
- ReferenceResolver - Class in org.everit.json.schema.loader.internal
-
Resolves an
id
orref
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
- RegexFormatValidator - Class in org.everit.json.schema.internal
- RegexFormatValidator() - Constructor for class org.everit.json.schema.internal.RegexFormatValidator
- Regexp - Interface in org.everit.json.schema.regexp
- regexpFactory(RegexpFactory) - Method in class org.everit.json.schema.loader.SchemaLoader.SchemaLoaderBuilder
- RegexpFactory - Interface in org.everit.json.schema.regexp
- RegexpMatchingFailure - Class in org.everit.json.schema.regexp
- registerSchemaByURI(URI, Object) - Method in class org.everit.json.schema.loader.SchemaLoader.SchemaLoaderBuilder
- RelativeJsonPointerFormatValidator - Class in org.everit.json.schema.internal
- RelativeJsonPointerFormatValidator() - Constructor for class org.everit.json.schema.internal.RelativeJsonPointerFormatValidator
- requireAny() - Method in class org.everit.json.schema.loader.internal.TypeBasedMultiplexer
-
Deprecated.Checks if the
obj
is an instance of any previously set classes (byTypeBasedMultiplexer.ifIs(Class)
orTypeBasedMultiplexer.ifObject()
), performs the mapped action of found or throws with aSchemaException
. - requiresArray() - Method in class org.everit.json.schema.ArraySchema
- requiresArray(boolean) - Method in class org.everit.json.schema.ArraySchema.Builder
- requiresInteger() - Method in class org.everit.json.schema.NumberSchema
- requiresInteger(boolean) - Method in class org.everit.json.schema.NumberSchema.Builder
- requiresNumber(boolean) - Method in class org.everit.json.schema.NumberSchema.Builder
- requiresObject() - Method in class org.everit.json.schema.ObjectSchema
- requiresObject(boolean) - Method in class org.everit.json.schema.ObjectSchema.Builder
- requiresString(boolean) - Method in class org.everit.json.schema.StringSchema.Builder
- requireString() - Method in class org.everit.json.schema.StringSchema
- 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(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
orref
value). - 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
orref
value).
S
- schema - Variable in class org.everit.json.schema.event.ValidationEvent
- 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(SchemaClient) - Method in class org.everit.json.schema.loader.SchemaLoader.SchemaLoaderBuilder
- 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
-
Deprecated.
- SchemaException(String, Class<?>, Class<?>, Class<?>...) - Constructor for exception org.everit.json.schema.SchemaException
- SchemaException(String, Class<?>, Object) - Constructor for exception org.everit.json.schema.SchemaException
-
Deprecated.
- SchemaException(String, Class<?>, Collection<Class<?>>) - Constructor for exception org.everit.json.schema.SchemaException
- SchemaException(String, Exception) - Constructor for exception org.everit.json.schema.SchemaException
- SchemaException(String, String) - Constructor for exception org.everit.json.schema.SchemaException
- SchemaException(String, Throwable) - Constructor for exception org.everit.json.schema.SchemaException
-
Deprecated.
- SchemaException(String, List<Class<?>>, Object) - Constructor for exception org.everit.json.schema.SchemaException
-
Deprecated.
- schemaJson(Object) - Method in class org.everit.json.schema.loader.SchemaLoader.SchemaLoaderBuilder
- 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
- schemaLocation - Variable in class org.everit.json.schema.Schema
-
Deprecated.
- schemaLocation(String) - Method in class org.everit.json.schema.Schema.Builder
-
Deprecated.Use
Schema.Builder.schemaLocation(SchemaLocation)
instead. - schemaLocation(SchemaLocation) - Method in class org.everit.json.schema.ReferenceSchema.Builder
- schemaLocation(SchemaLocation) - Method in class org.everit.json.schema.Schema.Builder
- SchemaLocation - Class in org.everit.json.schema
- SchemaLocation(URI, List<String>) - Constructor for class org.everit.json.schema.SchemaLocation
- SchemaLocation(List<String>) - Constructor for class org.everit.json.schema.SchemaLocation
- schemaOfAdditionalItems(Schema) - Method in class org.everit.json.schema.ArraySchema.Builder
- schemaOfAdditionalProperties(Schema) - Method in class org.everit.json.schema.ObjectSchema.Builder
- schemaReferenced(SchemaReferencedEvent) - Method in interface org.everit.json.schema.event.ValidationListener
-
Called when a
"$ref"
JSON reference is resolved. - SchemaReferencedEvent - Class in org.everit.json.schema.event
- SchemaReferencedEvent(ReferenceSchema, Object, Schema) - Constructor for class org.everit.json.schema.event.SchemaReferencedEvent
- 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. - SpecificationVersion - Enum in org.everit.json.schema.loader
- 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
-
Deprecated.explicitly specify the format validators with
StringSchemaLoader(LoadingState, Map)
instead - StringSchemaValidatingVisitor - Class in org.everit.json.schema
- StringSchemaValidatingVisitor(Object, ValidatingVisitor) - Constructor for class org.everit.json.schema.StringSchemaValidatingVisitor
- subschema(Schema) - Method in class org.everit.json.schema.CombinedSchema.Builder
- subschemas(Collection<Schema>) - Method in class org.everit.json.schema.CombinedSchema.Builder
T
- TemporalFormatValidator - Class in org.everit.json.schema.internal
-
Base class for date and time format validators
- then(Consumer<E>) - Method in interface org.everit.json.schema.loader.internal.TypeBasedMultiplexer.OnTypeConsumer
-
Deprecated.Sets the callback (consumer) to be called if the type of
obj
is the previously setpredicateClass
. - THEN - org.everit.json.schema.event.ConditionalSchemaValidationEvent.Keyword
- thenSchema(Schema) - Method in class org.everit.json.schema.ConditionalSchema.Builder
- thenSchemaMatch(ConditionalSchemaMatchEvent) - Method in interface org.everit.json.schema.event.ValidationListener
-
Called when the instance passes the validation against a
"then"
schema. - thenSchemaMismatch(ConditionalSchemaMismatchEvent) - Method in interface org.everit.json.schema.event.ValidationListener
-
Called when the instance does not pass the validation against a
"then"
schema. - throwFor(Schema, List<ValidationException>) - Static method in exception org.everit.json.schema.ValidationException
-
Sort of static factory method.
- TimeFormatValidator - Class in org.everit.json.schema.internal
-
Implementation of the "time" format value.
- TimeFormatValidator() - Constructor for class org.everit.json.schema.internal.TimeFormatValidator
- title(String) - Method in class org.everit.json.schema.ReferenceSchema.Builder
- title(String) - Method in class org.everit.json.schema.Schema.Builder
- toJSON() - Method in exception org.everit.json.schema.SchemaException
- toJSON() - Method in exception org.everit.json.schema.ValidationException
-
Creates a JSON representation of the failure.
- toJSON(boolean, boolean) - Method in class org.everit.json.schema.event.ValidationEvent
- toList(JSONArray) - Static method in class org.everit.json.schema.loader.OrgJsonUtil
-
Used as a replacement of
JSONArray#toList()
(which doesn't exist in the android version of org.json). - toMap(JSONObject) - Static method in class org.everit.json.schema.loader.OrgJsonUtil
-
Used as a replacement of
JSONObject#toMap()
(which doesn't exist in the android version of org.json). - toString() - Method in class org.everit.json.schema.event.ValidationEvent
- toString() - Method in class org.everit.json.schema.FalseSchema
- toString() - Method in class org.everit.json.schema.JSONPointer
-
Returns a string representing the JSONPointer path value using string representation
- toString() - Method in class org.everit.json.schema.Schema
- toString() - Method in class org.everit.json.schema.SchemaLocation
- toString() - Method in class org.everit.json.schema.TrueSchema
- toURIFragment() - Method in class org.everit.json.schema.JSONPointer
-
Returns a string representing the JSONPointer path value using URI fragment identifier representation
- TrueSchema - Class in org.everit.json.schema
- TrueSchema(TrueSchema.Builder) - Constructor for class org.everit.json.schema.TrueSchema
- TrueSchema.Builder - Class in org.everit.json.schema
- TypeBasedMultiplexer - Class in org.everit.json.schema.loader.internal
-
Deprecated.
- TypeBasedMultiplexer(Object) - Constructor for class org.everit.json.schema.loader.internal.TypeBasedMultiplexer
-
Deprecated.Constructor with
null
keyOfObj
andnull
id
. - TypeBasedMultiplexer(String, Object) - Constructor for class org.everit.json.schema.loader.internal.TypeBasedMultiplexer
-
Deprecated.Contstructor with
null id
. - TypeBasedMultiplexer(String, Object, URI) - Constructor for class org.everit.json.schema.loader.internal.TypeBasedMultiplexer
-
Deprecated.Constructor.
- TypeBasedMultiplexer.OnTypeConsumer<E> - Interface in org.everit.json.schema.loader.internal
-
Deprecated.Created and used by
TypeBasedMultiplexer
to set actions (consumers) for matching classes.
U
- uniqueItems(boolean) - Method in class org.everit.json.schema.ArraySchema.Builder
- unprocessedProperties - Variable in class org.everit.json.schema.Schema.Builder
- unprocessedProperties(Map<String, Object>) - Method in class org.everit.json.schema.ReferenceSchema.Builder
- unprocessedProperties(Map<String, Object>) - Method in class org.everit.json.schema.Schema.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
- URIFormatValidator(boolean) - Constructor for class org.everit.json.schema.internal.URIFormatValidator
- URIReferenceFormatValidator - Class in org.everit.json.schema.internal
- URIReferenceFormatValidator() - Constructor for class org.everit.json.schema.internal.URIReferenceFormatValidator
- URITemplateFormatValidator - Class in org.everit.json.schema.internal
- URITemplateFormatValidator() - Constructor for class org.everit.json.schema.internal.URITemplateFormatValidator
- URIV4FormatValidator - Class in org.everit.json.schema.internal
- URIV4FormatValidator() - Constructor for class org.everit.json.schema.internal.URIV4FormatValidator
- useDefaults(boolean) - Method in class org.everit.json.schema.loader.SchemaLoader.SchemaLoaderBuilder
-
With this flag set to false, the validator ignores the default keyword inside the json schema.
V
- validate(int, int) - Method in interface org.everit.json.schema.CombinedSchema.ValidationCriterion
-
Throws a
ValidationException
if the implemented criterion is not fulfilled by thesubschemaCount
and thematchingSubschemaCount
. - validate(Object) - Method in class org.everit.json.schema.Schema
-
Performs the schema validation.
- 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.JsonPointerFormatValidator
- validate(String) - Method in class org.everit.json.schema.internal.RegexFormatValidator
- validate(String) - Method in class org.everit.json.schema.internal.RelativeJsonPointerFormatValidator
- validate(String) - Method in class org.everit.json.schema.internal.TemporalFormatValidator
- validate(String) - Method in class org.everit.json.schema.internal.URIFormatValidator
- validate(String) - Method in class org.everit.json.schema.internal.URIReferenceFormatValidator
- validate(String) - Method in class org.everit.json.schema.internal.URITemplateFormatValidator
- validate(String) - Method in class org.everit.json.schema.internal.URIV4FormatValidator
- validate(String) - Method in class org.everit.json.schema.loader.internal.WrappingFormatValidator
- ValidationEvent<S extends Schema> - Class in org.everit.json.schema.event
- ValidationEvent(S, Object) - Constructor for class org.everit.json.schema.event.ValidationEvent
- 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(String) - 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
-
Deprecated.
- ValidationException(Schema, Class<?>, Object, String, 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
-
Deprecated.
- ValidationException(Schema, String, String, String) - Constructor for exception org.everit.json.schema.ValidationException
-
Constructor.
- 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
- ValidationListener - Interface in org.everit.json.schema.event
-
Interface to capture which schemas are matching against a specific event in the
ValidatingVisitor
. - Validator - Interface in org.everit.json.schema
- Validator.ValidatorBuilder - Class in org.everit.json.schema
- ValidatorBuilder() - Constructor for class org.everit.json.schema.Validator.ValidatorBuilder
- value(Object) - Method in class org.everit.json.schema.internal.JSONPrinter
- valueOf(String) - Static method in enum org.everit.json.schema.event.ConditionalSchemaValidationEvent.Keyword
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.everit.json.schema.loader.SpecificationVersion
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.everit.json.schema.ReadWriteContext
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.everit.json.schema.event.ConditionalSchemaValidationEvent.Keyword
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.everit.json.schema.loader.SpecificationVersion
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.everit.json.schema.ReadWriteContext
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- withListener(ValidationListener) - Method in class org.everit.json.schema.Validator.ValidatorBuilder
- WrappingFormatValidator - Class in org.everit.json.schema.loader.internal
- WrappingFormatValidator(String, FormatValidator) - Constructor for class org.everit.json.schema.loader.internal.WrappingFormatValidator
- WRITE - org.everit.json.schema.ReadWriteContext
- writeOnly(Boolean) - Method in class org.everit.json.schema.Schema.Builder
All Classes All Packages