A B C D E F G H I J K L M N O P R S T V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- acceptsDefaultValues() - Method in interface org.leadpony.justify.api.EvaluatorContext
-
Checks if the current validator accepts default values or not.
- ALWAYS_TRUE - Static variable in interface org.leadpony.justify.api.Evaluator
-
The evaluator which evaluates anything as true.
- ARRAY - org.leadpony.justify.api.InstanceType
-
JSON array.
- asObjectJsonSchema() - Method in interface org.leadpony.justify.api.JsonSchema
-
Returns this JSON schema as a
ObjectJsonSchema. - asObjectJsonSchema() - Method in interface org.leadpony.justify.api.ObjectJsonSchema
-
Returns this JSON schema as a
ObjectJsonSchema.
B
- BOOLEAN - org.leadpony.justify.api.InstanceType
-
JSON true of false.
- build() - Method in interface org.leadpony.justify.api.JsonSchemaBuilder
-
Builds a new instance of
JsonSchema. - build() - Method in interface org.leadpony.justify.api.JsonSchemaReaderFactoryBuilder
-
Builds a new instance of
JsonSchemaReaderFactory. - build() - Method in interface org.leadpony.justify.api.ProblemPrinterBuilder
-
Builds a new instance of problem printer which was configured through this interface.
C
- canDecode(String) - Method in interface org.leadpony.justify.spi.ContentEncodingScheme
-
Checks whether the specified string is encoded in this scheme or not.
- close() - Method in interface org.leadpony.justify.api.JsonSchemaReader
-
Closes this reader and frees any resources associated with this reader.
- collectingTo(Collection<Problem>) - Static method in interface org.leadpony.justify.api.ProblemHandler
-
Creates a problem handler which will store problems into the specified collection.
- comment() - Method in interface org.leadpony.justify.api.JsonSchema
-
Returns the comment for this schema, which is supplied by "$comment" keyword.
- containsKeyword(String) - Method in interface org.leadpony.justify.api.JsonSchema
-
Checks if this schema contains the specified keyword or not.
- ContentEncodingScheme - Interface in org.leadpony.justify.spi
-
Encoding scheme of the content of the JSON string.
- ContentMimeType - Interface in org.leadpony.justify.spi
-
MIME type of the content of the JSON string.
- countBranches() - Method in interface org.leadpony.justify.api.Problem
-
Returns the number of branches in this problem.
- createBuilder() - Method in interface org.leadpony.justify.api.JsonSchemaBuilderFactory
-
Creates a new instance of JSON schema builder.
- createEvaluator(EvaluatorContext, InstanceType) - Method in interface org.leadpony.justify.api.JsonSchema
-
Creates an evaluator of this schema.
- createJsonProvider(JsonSchema, ProblemHandlerFactory) - Method in interface org.leadpony.justify.api.JsonValidationService
-
Creates a JSON provider for validating JSON documents while parsing and reading.
- createNegatedEvaluator(EvaluatorContext, InstanceType) - Method in interface org.leadpony.justify.api.JsonSchema
-
Creates an evaluator of the negated version of this schema.
- createParser(InputStream, Charset, JsonSchema, ProblemHandler) - Method in interface org.leadpony.justify.api.JsonValidationService
-
Creates a JSON parser from the specified byte stream, which validates the JSON document while parsing.
- createParser(InputStream, JsonSchema, ProblemHandler) - Method in interface org.leadpony.justify.api.JsonValidationService
-
Creates a JSON parser from the specified byte stream, which validates the JSON document while parsing.
- createParser(Reader, JsonSchema, ProblemHandler) - Method in interface org.leadpony.justify.api.JsonValidationService
-
Creates a JSON parser from the specified character stream, which validates the JSON document while parsing.
- createParser(Path, JsonSchema, ProblemHandler) - Method in interface org.leadpony.justify.api.JsonValidationService
-
Creates a JSON parser from the specified path, which validates the JSON document while parsing.
- createParserFactory(Map<String, ?>) - Method in interface org.leadpony.justify.api.JsonValidationService
-
Creates a parser factory for creating
JsonParserinstances. - createParserFactory(Map<String, ?>, JsonSchema, ProblemHandlerFactory) - Method in interface org.leadpony.justify.api.JsonValidationService
-
Creates a parser factory for creating
JsonParserinstances. - createProblemHandler(JsonParser) - Method in interface org.leadpony.justify.api.ProblemHandlerFactory
-
Returns a problem handler for a JSON parser.
- createProblemPrinter(Consumer<String>) - Method in interface org.leadpony.justify.api.JsonValidationService
-
Creates a problem handler which will print problems with the aid of the specified line consumer.
- createProblemPrinter(Consumer<String>, Locale) - Method in interface org.leadpony.justify.api.JsonValidationService
-
Creates a problem handler which will print problems with the aid of the specified line consumer.
- createProblemPrinterBuilder(Consumer<String>) - Method in interface org.leadpony.justify.api.JsonValidationService
-
Creates a builder instance which can be used to build a customized problem printer.
- createReader(InputStream, Charset, JsonSchema, ProblemHandler) - Method in interface org.leadpony.justify.api.JsonValidationService
-
Creates a JSON reader from a byte stream, which validates the JSON document while reading.
- createReader(InputStream, JsonSchema, ProblemHandler) - Method in interface org.leadpony.justify.api.JsonValidationService
-
Creates a JSON reader from a byte stream, which validates the JSON document while reading.
- createReader(Reader, JsonSchema, ProblemHandler) - Method in interface org.leadpony.justify.api.JsonValidationService
-
Creates a JSON reader from a character stream, which validates the JSON document while reading.
- createReader(Path, JsonSchema, ProblemHandler) - Method in interface org.leadpony.justify.api.JsonValidationService
-
Creates a JSON reader from a path, which validates the JSON document while reading.
- createReaderFactory(Map<String, ?>) - Method in interface org.leadpony.justify.api.JsonValidationService
-
Creates a reader factory for creating
JsonReaderinstances. - createReaderFactory(Map<String, ?>, JsonSchema, ProblemHandlerFactory) - Method in interface org.leadpony.justify.api.JsonValidationService
-
Creates a reader factory for creating
JsonReaderinstances. - createSchemaBuilderFactory() - Method in interface org.leadpony.justify.api.JsonValidationService
-
Creates a factory for creating JSON schema builders.
- createSchemaReader(InputStream) - Method in interface org.leadpony.justify.api.JsonSchemaReaderFactory
-
Creates a JSON schema reader from a byte stream.
- createSchemaReader(InputStream, Charset) - Method in interface org.leadpony.justify.api.JsonSchemaReaderFactory
-
Creates a JSON schema reader from a byte stream encoded by the specified charset.
- createSchemaReader(Reader) - Method in interface org.leadpony.justify.api.JsonSchemaReaderFactory
-
Creates a JSON schema reader from a character stream.
- createSchemaReader(Path) - Method in interface org.leadpony.justify.api.JsonSchemaReaderFactory
-
Creates a JSON schema reader from a path.
- createSchemaReaderFactory() - Method in interface org.leadpony.justify.api.JsonValidationService
-
Creates a factory for creating JSON schema readers with default configuration.
- createSchemaReaderFactoryBuilder() - Method in interface org.leadpony.justify.api.JsonValidationService
-
Creates a builder for building a JSON schema reader factory.
- createService() - Method in class org.leadpony.justify.spi.JsonValidationProvider
-
Creates a new instance of
JsonValidationService. - createValidationConfig() - Method in interface org.leadpony.justify.api.JsonValidationService
-
Creates a configuration for
JsonParserorJsonReaderwith validation functionality. - current() - Static method in enum org.leadpony.justify.api.SpecVersion
-
Returns the current stable version.
- CUSTOM_FORMATS - Static variable in interface org.leadpony.justify.api.JsonSchemaReader
-
The property used to specify whether the schema reader uses custom format attributes or not.
D
- decode(String) - Method in interface org.leadpony.justify.spi.ContentEncodingScheme
-
Decodes the encoded string into a newly allocated byte array using this encoding scheme.
- DEFAULT_SPEC_VERSION - Static variable in interface org.leadpony.justify.api.JsonSchemaReader
-
The property used to specify the default version of the JSON Schema specification.
- DEFAULT_VALUES - Static variable in interface org.leadpony.justify.api.ValidationConfig
-
The property used to specify whether JSON instances will be filled with default values or not.
- defaultValue() - Method in interface org.leadpony.justify.api.JsonSchema
-
Returns the default value of this schema, which is supplied by "default" keyword.
- description() - Method in interface org.leadpony.justify.api.JsonSchema
-
Returns the description of this schema, which is supplied by "description" keyword.
- dispatchAllProblems(Collection<Problem>) - Method in interface org.leadpony.justify.api.ProblemDispatcher
-
Dispatches all problems in the specified collection.
- dispatchInevitableProblem(EvaluatorContext, JsonSchema) - Method in interface org.leadpony.justify.api.ProblemDispatcher
-
Dispatches an inevitable problem.
- dispatchProblem(Problem) - Method in interface org.leadpony.justify.api.ProblemDispatcher
-
Dispatches the problem found.
- DRAFT_04 - org.leadpony.justify.api.SpecVersion
-
JSON Schema specification of Draft-04.
- DRAFT_06 - org.leadpony.justify.api.SpecVersion
-
JSON Schema specification of Draft-06.
- DRAFT_07 - org.leadpony.justify.api.SpecVersion
-
JSON Schema specification of Draft-07.
E
- EMPTY - Static variable in interface org.leadpony.justify.api.JsonSchema
-
The JSON schema represented by an empty JSON object.
- evaluate(JsonParser.Event, int, ProblemDispatcher) - Method in interface org.leadpony.justify.api.Evaluator
-
Evaluates a JSON schema against each instance location to which it applies.
- Evaluator - Interface in org.leadpony.justify.api
-
An evaluator interface for applying a JSON schema to a JSON instance.
- Evaluator.Result - Enum in org.leadpony.justify.api
-
The results of the evaluation done by
Evaluator. - EvaluatorContext - Interface in org.leadpony.justify.api
-
A context shared by all evaluators participating in the current validation.
F
- FALSE - org.leadpony.justify.api.Evaluator.Result
-
Evaluated as false, which means invalid.
- FALSE - Static variable in interface org.leadpony.justify.api.JsonSchema
-
The JSON schema which is always evaluated as false.
- FormatAttribute - Interface in org.leadpony.justify.spi
-
A Service Provider Interface for format attribute.
G
- getAsMap() - Method in interface org.leadpony.justify.api.ValidationConfig
-
Returns all configuration properties as an unmodifiable map.
- getBranch(int) - Method in interface org.leadpony.justify.api.Problem
-
Returns the list of the problems contained in the branch at the specified index.
- getById(URI) - Static method in enum org.leadpony.justify.api.SpecVersion
-
Returns the version of the specified ID.
- getContextualMessage() - Method in interface org.leadpony.justify.api.Problem
-
Return the message describing this problem, which includes the location where this problem is found in the input source.
- getContextualMessage(Locale) - Method in interface org.leadpony.justify.api.Problem
-
Return the message describing this problem, which includes the location where this problem is found in the input source.
- getInPlaceSubschemas() - Method in interface org.leadpony.justify.api.JsonSchema
-
Returns all of the subschemas of this schema which will be applied to the same instance location as this one.
- getJsonBuilderFactory() - Method in interface org.leadpony.justify.api.EvaluatorContext
-
Returns the instance of JSON builder factory.
- getJsonProvider() - Method in interface org.leadpony.justify.api.EvaluatorContext
-
Returns the instance of JSON provider.
- getJsonProvider() - Method in interface org.leadpony.justify.api.JsonValidationService
-
Returns the underlying JSON provider used by this service.
- getJsonValueType() - Method in interface org.leadpony.justify.api.JsonSchema
-
Returns the value type of JSON representing this schema.
- getJsonValueType() - Method in interface org.leadpony.justify.api.ObjectJsonSchema
-
Returns
ValueType.OBJECTas a value type of JSON. - getKeyword() - Method in interface org.leadpony.justify.api.Problem
-
Returns the keyword which provided the assertion.
- getKeywordValue(String) - Method in interface org.leadpony.justify.api.JsonSchema
-
Returns the value of the specified schema keyword as a
JsonValue. - getKeywordValue(String, JsonValue) - Method in interface org.leadpony.justify.api.JsonSchema
-
Returns the value of the specified schema keyword as a
JsonValue. - getLocalized() - Method in interface org.leadpony.justify.api.Localizable
-
Returns the string localized for the current locale.
- getLocalized(Locale) - Method in interface org.leadpony.justify.api.Localizable
-
Returns the string localized for the specified locale.
- getLocation() - Method in interface org.leadpony.justify.api.Problem
-
Returns the location where this problem is found in the input source.
- getMessage() - Method in exception org.leadpony.justify.api.JsonValidatingException
-
Returns the detail message string of this exception.
- getMessage() - Method in interface org.leadpony.justify.api.Problem
-
Return the message describing this problem.
- getMessage(Locale) - Method in interface org.leadpony.justify.api.Problem
-
Return the message describing this problem, which will be localized for the specified locale.
- getParser() - Method in interface org.leadpony.justify.api.EvaluatorContext
-
Returns the parser being used while validating the instance.
- getPointer() - Method in interface org.leadpony.justify.api.EvaluatorContext
-
Returns the current location in the instance as a JSON pointer.
- getPointer() - Method in interface org.leadpony.justify.api.Problem
-
Returns the JSON pointer where this problem is found in the input source.
- getProblems() - Method in exception org.leadpony.justify.api.JsonValidatingException
-
Returns all problems found in the validation process.
- getProperty(String) - Method in interface org.leadpony.justify.api.ValidationConfig
-
Returns the value of the specified configuration property.
- getSchema() - Method in interface org.leadpony.justify.api.Problem
-
Returns the JSON schema which provided the assertion.
- getSubschemaAt(String) - Method in interface org.leadpony.justify.api.JsonSchema
-
Returns the subschema at the location specified with a JSON pointer.
- getSubschemas() - Method in interface org.leadpony.justify.api.JsonSchema
-
Returns all of the subschemas contained in this schema.
- getValueAsJson() - Method in interface org.leadpony.justify.api.Keyword
-
Returns the value of this keyword as an instance of
JsonValue.
H
- handleProblems(List<Problem>) - Method in interface org.leadpony.justify.api.ProblemHandler
-
Handles the problems found while validating a JSON document.
- hasAbsoluteId() - Method in interface org.leadpony.justify.api.JsonSchema
-
Checks if this schema has an identifier and the identifier is absolute.
- hasBranches() - Method in interface org.leadpony.justify.api.Problem
-
Checks if this problem has any branches or not.
- hasId() - Method in interface org.leadpony.justify.api.JsonSchema
-
Checks if this schema has an identifier assigned or not.
I
- id() - Method in interface org.leadpony.justify.api.JsonSchema
-
Returns the identifier of this schema, which is supplied by "$id" keyword.
- id() - Method in enum org.leadpony.justify.api.SpecVersion
-
Returns the identifier of this version, such as
"http://json-schema.org/draft-07/schema#". - InstanceType - Enum in org.leadpony.justify.api
-
The primitive types of JSON instances.
- INTEGER - org.leadpony.justify.api.InstanceType
-
JSON number without fractional part.
- isAlwaysFalse() - Method in interface org.leadpony.justify.api.Evaluator
-
Checks whether this evaluator evaluates anything as false or not.
- isBoolean() - Method in interface org.leadpony.justify.api.JsonSchema
-
Checks if this schema is a boolean schema.
- isBoolean() - Method in interface org.leadpony.justify.api.ObjectJsonSchema
-
Checks if this schema is a boolean schema.
- isContainer() - Method in enum org.leadpony.justify.api.InstanceType
-
Checks if this type can contain other types or not.
- isNumeric() - Method in enum org.leadpony.justify.api.InstanceType
-
Checks if this type is numeric or not.
- isResolvable() - Method in interface org.leadpony.justify.api.Problem
-
Checks if this problem is resolvable or not.
J
- JsonSchema - Interface in org.leadpony.justify.api
-
An immutable JSON schema.
- JsonSchemaBuilder - Interface in org.leadpony.justify.api
-
A builder interface for building a JSON schema programmatically.
- JsonSchemaBuilderFactory - Interface in org.leadpony.justify.api
-
A factory interface for creating
JsonSchemaBuilderinstances. - JsonSchemaReader - Interface in org.leadpony.justify.api
-
A reader interface for reading a JSON schema from an input source.
- JsonSchemaReaderFactory - Interface in org.leadpony.justify.api
-
A factory interface for creating
JsonSchemaReaderinstances. - JsonSchemaReaderFactoryBuilder - Interface in org.leadpony.justify.api
-
A builder interface for building a
JsonSchemaReaderFactoryinstance. - JsonSchemaResolver - Interface in org.leadpony.justify.api
-
A resolver interface for resolving referenced external JSON schemas.
- JsonValidatingException - Exception in org.leadpony.justify.api
-
JsonValidatingExceptionindicates that some exception happened while validating a JSON document. - JsonValidatingException(List<Problem>) - Constructor for exception org.leadpony.justify.api.JsonValidatingException
-
Constructs a new runtime exception.
- JsonValidationProvider - Class in org.leadpony.justify.spi
-
Service provider for JSON validation objects.
- JsonValidationProvider() - Constructor for class org.leadpony.justify.spi.JsonValidationProvider
-
Constructs this provider.
- JsonValidationService - Interface in org.leadpony.justify.api
-
The facade interface for creating JSON validation objects.
K
- Keyword - Interface in org.leadpony.justify.api
-
A schema keyword which composes a JSON schema.
L
- Localizable - Interface in org.leadpony.justify.api
-
A localizable string.
- localizedName() - Method in interface org.leadpony.justify.spi.FormatAttribute
-
Returns the localized name.
M
- METASCHEMA - Static variable in interface org.leadpony.justify.api.JsonSchemaReader
-
The property used to specify the metaschema to be used when validating the schema.
N
- name() - Method in interface org.leadpony.justify.api.Keyword
-
Returns the name of this keyword.
- name() - Method in interface org.leadpony.justify.spi.ContentEncodingScheme
-
Returns the name of this encoding scheme.
- name() - Method in interface org.leadpony.justify.spi.FormatAttribute
-
Returns the name of this attribute.
- newInstance() - Static method in interface org.leadpony.justify.api.JsonValidationService
-
Creates a new instance of this type.
- NULL - org.leadpony.justify.api.InstanceType
-
JSON null.
- NUMBER - org.leadpony.justify.api.InstanceType
-
JSON number with or without fractional part.
O
- OBJECT - org.leadpony.justify.api.InstanceType
-
JSON object.
- ObjectJsonSchema - Interface in org.leadpony.justify.api
-
A JSON schema type represented by a JSON object.
- of(JsonValue) - Static method in enum org.leadpony.justify.api.InstanceType
-
Returns the type of the specified JSON value.
- org.leadpony.justify - module org.leadpony.justify
-
Defines the API for JSON validation.
- org.leadpony.justify.api - package org.leadpony.justify.api
-
Provides the API for validating JSON documents.
- org.leadpony.justify.spi - package org.leadpony.justify.spi
-
Service Provider Interface (SPI) to plug in implementations for JSON validation services.
P
- parametersAsMap() - Method in interface org.leadpony.justify.api.Problem
-
Returns all parameters of this problem as a map.
- PENDING - org.leadpony.justify.api.Evaluator.Result
-
Evaluation is not done yet.
- Problem - Interface in org.leadpony.justify.api
-
A problem found during the validation.
- PROBLEM_HANDLER_FACTORY - Static variable in interface org.leadpony.justify.api.ValidationConfig
-
The property used to specify the factory of problem handlers.
- ProblemDispatcher - Interface in org.leadpony.justify.api
-
A dispatcher interface for dispatching the problems found while validating a JSON document.
- ProblemHandler - Interface in org.leadpony.justify.api
-
A handler interface for handling the problems found while validating a JSON document.
- ProblemHandlerFactory - Interface in org.leadpony.justify.api
-
A factory interface for creating
ProblemHandlerinstances. - ProblemPrinterBuilder - Interface in org.leadpony.justify.api
-
A builder interface for building a problem printer instance.
- provider() - Static method in class org.leadpony.justify.spi.JsonValidationProvider
-
Returns an instance of this provider class.
- putDefaultItems(List<JsonValue>) - Method in interface org.leadpony.justify.api.EvaluatorContext
-
Inserts default values at the end of the array.
- putDefaultProperties(Map<String, JsonValue>) - Method in interface org.leadpony.justify.api.EvaluatorContext
-
Inserts default values at the end of the object.
R
- read() - Method in interface org.leadpony.justify.api.JsonSchemaReader
-
Returns a JSON schema that is represented in the input source.
- readSchema(InputStream) - Method in interface org.leadpony.justify.api.JsonValidationService
-
Reads a JSON schema from a byte stream.
- readSchema(InputStream, Charset) - Method in interface org.leadpony.justify.api.JsonValidationService
-
Reads a JSON schema from a byte stream encoded by the specified charset.
- readSchema(Reader) - Method in interface org.leadpony.justify.api.JsonValidationService
-
Reads a JSON schema from a character stream.
- readSchema(Path) - Method in interface org.leadpony.justify.api.JsonValidationService
-
Reads a JSON schema from a path.
- RESOLVERS - Static variable in interface org.leadpony.justify.api.JsonSchemaReader
-
The property used to specify the list of schema resolvers.
- resolveSchema(URI) - Method in interface org.leadpony.justify.api.JsonSchemaResolver
-
Returns the JSON schema identified with given
id.
S
- schema() - Method in interface org.leadpony.justify.api.JsonSchema
-
Returns the version identifier of this schema, which is supplied by "$schema" keyword.
- SCHEMA - Static variable in interface org.leadpony.justify.api.ValidationConfig
-
The property used to specify the JSON schema.
- SCHEMA_VALIDATION - Static variable in interface org.leadpony.justify.api.JsonSchemaReader
-
The property used to specify whether the schema reader validates the schema against the metaschema or not.
- setProperty(String, Object) - Method in interface org.leadpony.justify.api.ValidationConfig
-
Assigns the new value to the specified configuration property.
- SPEC_VERSION_DETECTION - Static variable in interface org.leadpony.justify.api.JsonSchemaReader
-
The property used to specify whether the automatic detection of specification version is enabled or not.
- SpecVersion - Enum in org.leadpony.justify.api
-
The versions of the JSON Schema Specification.
- STRICT_FORMATS - Static variable in interface org.leadpony.justify.api.JsonSchemaReader
-
The property used to specify whether the schema reader is strict with formats or not.
- STRICT_KEYWORDS - Static variable in interface org.leadpony.justify.api.JsonSchemaReader
-
The property used to specify whether the schema reader is strict with keywords or not.
- STRING - org.leadpony.justify.api.InstanceType
-
JSON object.
T
- test(byte[], Map<String, String>) - Method in interface org.leadpony.justify.spi.ContentMimeType
-
Checks whether the specified content is of this MIME type or not.
- test(String) - Method in interface org.leadpony.justify.spi.ContentMimeType
-
Checks whether the specified content is of this MIME type or not.
- test(JsonValue) - Method in interface org.leadpony.justify.spi.FormatAttribute
-
Checks if the value matches this format.
- throwing() - Static method in interface org.leadpony.justify.api.ProblemHandler
-
Creates a problem handler which will throw a
JsonValidatingExceptionexception. - title() - Method in interface org.leadpony.justify.api.JsonSchema
-
Returns the title of this schema, which is supplied by "title" keyword.
- toJson() - Method in interface org.leadpony.justify.api.JsonSchema
-
Returns the JSON representation of this schema.
- toString() - Method in interface org.leadpony.justify.api.JsonSchema
-
Returns the string representation of this schema.
- toString() - Method in interface org.leadpony.justify.api.Problem
-
Returns the same string as
Problem.getContextualMessage()for the default locale. - toString() - Method in interface org.leadpony.justify.spi.ContentMimeType
-
Returns the string representation of this MIME type.
- TRUE - org.leadpony.justify.api.Evaluator.Result
-
Evaluated as true, which means valid.
- TRUE - Static variable in interface org.leadpony.justify.api.JsonSchema
-
The JSON schema which is always evaluated as true.
V
- ValidationConfig - Interface in org.leadpony.justify.api
-
A configuration type for configuring JSON validation.
- valueOf(boolean) - Static method in interface org.leadpony.justify.api.JsonSchema
-
Returns a boolean schema instance representing the specified boolean value.
- valueOf(String) - Static method in enum org.leadpony.justify.api.Evaluator.Result
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.leadpony.justify.api.InstanceType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.leadpony.justify.api.SpecVersion
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.leadpony.justify.api.Evaluator.Result
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.leadpony.justify.api.InstanceType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.leadpony.justify.api.SpecVersion
-
Returns an array containing the constants of this enum type, in the order they are declared.
- valueType() - Method in interface org.leadpony.justify.spi.FormatAttribute
-
Returns the type of the value expected by this attribute.
W
- withAdditionalItems(JsonSchema) - Method in interface org.leadpony.justify.api.JsonSchemaBuilder
-
Adds an "additionalItems" keyword to the schema.
- withAdditionalProperties(JsonSchema) - Method in interface org.leadpony.justify.api.JsonSchemaBuilder
-
Adds an "additionalProperties" keyword to the schema.
- withAllOf(List<JsonSchema>) - Method in interface org.leadpony.justify.api.JsonSchemaBuilder
-
Adds an "allOf" keyword to the schema.
- withAllOf(JsonSchema...) - Method in interface org.leadpony.justify.api.JsonSchemaBuilder
-
Adds an "allOf" keyword to the schema.
- withAnyOf(List<JsonSchema>) - Method in interface org.leadpony.justify.api.JsonSchemaBuilder
-
Adds an "anyOf" keyword to the schema.
- withAnyOf(JsonSchema...) - Method in interface org.leadpony.justify.api.JsonSchemaBuilder
-
Adds an "anyOf" keyword to the schema.
- withComment(String) - Method in interface org.leadpony.justify.api.JsonSchemaBuilder
-
Adds a "$comment" keyword to the schema.
- withConst(JsonValue) - Method in interface org.leadpony.justify.api.JsonSchemaBuilder
-
Adds a "const" keyword to the schema.
- withContains(JsonSchema) - Method in interface org.leadpony.justify.api.JsonSchemaBuilder
-
Adds a "contains" keyword to the schema.
- withContentEncoding(String) - Method in interface org.leadpony.justify.api.JsonSchemaBuilder
-
Adds a "contentEncoding" keyword to the schema.
- withContentMediaType(String) - Method in interface org.leadpony.justify.api.JsonSchemaBuilder
-
Adds a "contentMediaType" keyword to the schema.
- withCustomFormatAttributes(boolean) - Method in interface org.leadpony.justify.api.JsonSchemaReaderFactoryBuilder
-
Enables or disables the custom format attributes provided through Service Provider Interface.
- withDefault(JsonValue) - Method in interface org.leadpony.justify.api.JsonSchemaBuilder
-
Adds a "default" keyword to the schema.
- withDefaultSpecVersion(SpecVersion) - Method in interface org.leadpony.justify.api.JsonSchemaReaderFactoryBuilder
-
Specifies the default version of the JSON Schema specification.
- withDefaultValues(boolean) - Method in interface org.leadpony.justify.api.ValidationConfig
-
Specifies whether JSON instances will be filled with default values while being validated or not.
- withDefinition(String, JsonSchema) - Method in interface org.leadpony.justify.api.JsonSchemaBuilder
-
Adds an entry of "definitions" keyword to the schema.
- withDefinitions(Map<String, JsonSchema>) - Method in interface org.leadpony.justify.api.JsonSchemaBuilder
-
Adds a "definitions" keyword to the schema.
- withDependencies(Map<String, ?>) - Method in interface org.leadpony.justify.api.JsonSchemaBuilder
-
Adds a "dependencies" keyword to the schema.
- withDependency(String, String...) - Method in interface org.leadpony.justify.api.JsonSchemaBuilder
-
Adds an entry of the "dependencies" keyword to the schema.
- withDependency(String, Set<String>) - Method in interface org.leadpony.justify.api.JsonSchemaBuilder
-
Adds an entry of the "dependencies" keyword to the schema.
- withDependency(String, JsonSchema) - Method in interface org.leadpony.justify.api.JsonSchemaBuilder
-
Adds an entry of the "dependencies" keyword to the schema.
- withDescription(String) - Method in interface org.leadpony.justify.api.JsonSchemaBuilder
-
Adds a "description" keyword to the schema.
- withElse(JsonSchema) - Method in interface org.leadpony.justify.api.JsonSchemaBuilder
-
Adds an "else" keyword to the schema.
- withEnum(Set<JsonValue>) - Method in interface org.leadpony.justify.api.JsonSchemaBuilder
-
Adds an "enum" keyword to the schema.
- withEnum(JsonValue...) - Method in interface org.leadpony.justify.api.JsonSchemaBuilder
-
Adds an "enum" keyword to the schema.
- withExclusiveMaximum(double) - Method in interface org.leadpony.justify.api.JsonSchemaBuilder
-
Adds an "exclusiveMaximum" keyword to the schema.
- withExclusiveMaximum(long) - Method in interface org.leadpony.justify.api.JsonSchemaBuilder
-
Adds an "exclusiveMaximum" keyword to the schema.
- withExclusiveMaximum(BigDecimal) - Method in interface org.leadpony.justify.api.JsonSchemaBuilder
-
Adds an "exclusiveMaximum" keyword to the schema.
- withExclusiveMinimum(double) - Method in interface org.leadpony.justify.api.JsonSchemaBuilder
-
Adds an "exclusiveMinimum" keyword to the schema.
- withExclusiveMinimum(long) - Method in interface org.leadpony.justify.api.JsonSchemaBuilder
-
Adds an "exclusiveMinimum" keyword to the schema.
- withExclusiveMinimum(BigDecimal) - Method in interface org.leadpony.justify.api.JsonSchemaBuilder
-
Adds an "exclusiveMinimum" keyword to the schema.
- withFormat(String) - Method in interface org.leadpony.justify.api.JsonSchemaBuilder
-
Adds a "format" keyword to the schema.
- withId(URI) - Method in interface org.leadpony.justify.api.JsonSchemaBuilder
-
Adds a "$id" keyword to the schema.
- withIf(JsonSchema) - Method in interface org.leadpony.justify.api.JsonSchemaBuilder
-
Adds an "if" keyword to the schema.
- withItems(JsonSchema) - Method in interface org.leadpony.justify.api.JsonSchemaBuilder
-
Adds an "items" keyword to the schema.
- withItemsArray(List<JsonSchema>) - Method in interface org.leadpony.justify.api.JsonSchemaBuilder
-
Adds an "items" keyword to the schema.
- withItemsArray(JsonSchema...) - Method in interface org.leadpony.justify.api.JsonSchemaBuilder
-
Adds an "items" keyword to the schema.
- withLaxFormat(String) - Method in interface org.leadpony.justify.api.JsonSchemaBuilder
-
Adds a "format" keyword to the schema.
- withLocale(Locale) - Method in interface org.leadpony.justify.api.ProblemPrinterBuilder
-
Specifies the target locale for which the messages to present will be localized.
- withLocation(boolean) - Method in interface org.leadpony.justify.api.ProblemPrinterBuilder
-
Specifies whether problem locations should be presented in the form of line and column numbers or not.
- withMaxContains(int) - Method in interface org.leadpony.justify.api.JsonSchemaBuilder
-
Adds a "maxContains" keyword to the schema.
- withMaximum(double) - Method in interface org.leadpony.justify.api.JsonSchemaBuilder
-
Adds a "maximum" keyword to the schema.
- withMaximum(long) - Method in interface org.leadpony.justify.api.JsonSchemaBuilder
-
Adds a "maximum" keyword to the schema.
- withMaximum(BigDecimal) - Method in interface org.leadpony.justify.api.JsonSchemaBuilder
-
Adds a "maximum" keyword to the schema.
- withMaxItems(int) - Method in interface org.leadpony.justify.api.JsonSchemaBuilder
-
Adds a "maxItems" keyword to the schema.
- withMaxLength(int) - Method in interface org.leadpony.justify.api.JsonSchemaBuilder
-
Adds a "maxLength" keyword to the schema.
- withMaxProperties(int) - Method in interface org.leadpony.justify.api.JsonSchemaBuilder
-
Adds a "maxProperties" keyword to the schema.
- withMetaschema(JsonSchema) - Method in interface org.leadpony.justify.api.JsonSchemaReaderFactoryBuilder
-
Specifies the metaschema to be used when validating the schema.
- withMinContains(int) - Method in interface org.leadpony.justify.api.JsonSchemaBuilder
-
Adds a "minContains" keyword to the schema.
- withMinimum(double) - Method in interface org.leadpony.justify.api.JsonSchemaBuilder
-
Adds a "minimum" keyword to the schema.
- withMinimum(long) - Method in interface org.leadpony.justify.api.JsonSchemaBuilder
-
Adds a "minimum" keyword to the schema.
- withMinimum(BigDecimal) - Method in interface org.leadpony.justify.api.JsonSchemaBuilder
-
Adds a "minimum" keyword to the schema.
- withMinItems(int) - Method in interface org.leadpony.justify.api.JsonSchemaBuilder
-
Adds a "minItems" keyword to the schema.
- withMinLength(int) - Method in interface org.leadpony.justify.api.JsonSchemaBuilder
-
Adds a "minLength" keyword to the schema.
- withMinProperties(int) - Method in interface org.leadpony.justify.api.JsonSchemaBuilder
-
Adds a "minProperties" keyword to the schema.
- withMultipleOf(double) - Method in interface org.leadpony.justify.api.JsonSchemaBuilder
-
Adds a "multipleOf" keyword to the schema.
- withMultipleOf(long) - Method in interface org.leadpony.justify.api.JsonSchemaBuilder
-
Adds a "multipleOf" keyword to the schema.
- withMultipleOf(BigDecimal) - Method in interface org.leadpony.justify.api.JsonSchemaBuilder
-
Adds a "multipleOf" keyword to the schema.
- withNot(JsonSchema) - Method in interface org.leadpony.justify.api.JsonSchemaBuilder
-
Adds a "not" keyword to the schema.
- withOneOf(List<JsonSchema>) - Method in interface org.leadpony.justify.api.JsonSchemaBuilder
-
Adds a "oneOf" keyword to the schema.
- withOneOf(JsonSchema...) - Method in interface org.leadpony.justify.api.JsonSchemaBuilder
-
Adds a "oneOf" keyword to the schema.
- withPattern(String) - Method in interface org.leadpony.justify.api.JsonSchemaBuilder
-
Adds a "pattern" keyword to the schema.
- withPatternProperties(Map<String, JsonSchema>) - Method in interface org.leadpony.justify.api.JsonSchemaBuilder
-
Adds a "patternProperties" keyword to the schema.
- withPatternProperty(String, JsonSchema) - Method in interface org.leadpony.justify.api.JsonSchemaBuilder
-
Adds an entry of the "patternProperties" keyword to the schema.
- withPointer(boolean) - Method in interface org.leadpony.justify.api.ProblemPrinterBuilder
-
Specifies whether problem locations should be presented in the form of a JSON pointer or not.
- withProblemHandler(ProblemHandler) - Method in interface org.leadpony.justify.api.ValidationConfig
-
Specifies the handler of problems detected by the JSON validators.
- withProblemHandlerFactory(ProblemHandlerFactory) - Method in interface org.leadpony.justify.api.ValidationConfig
-
Specifies the factory of problem handlers.
- withProperties(Map<String, ?>) - Method in interface org.leadpony.justify.api.ValidationConfig
-
Assigns set of configuration properties.
- withProperties(Map<String, JsonSchema>) - Method in interface org.leadpony.justify.api.JsonSchemaBuilder
-
Adds a "properties" keyword to the schema.
- withProperty(String, JsonSchema) - Method in interface org.leadpony.justify.api.JsonSchemaBuilder
-
Adds an entry of the "properties" keyword to the schema.
- withPropertyNames(JsonSchema) - Method in interface org.leadpony.justify.api.JsonSchemaBuilder
-
Adds a "propertyNames" keyword to the schema.
- withRequired(String...) - Method in interface org.leadpony.justify.api.JsonSchemaBuilder
-
Adds a "required" keyword to the schema.
- withRequired(Set<String>) - Method in interface org.leadpony.justify.api.JsonSchemaBuilder
-
Adds a "required" keyword to the schema.
- withSchema(URI) - Method in interface org.leadpony.justify.api.JsonSchemaBuilder
-
Adds a "$schema" keyword to the schema.
- withSchema(JsonSchema) - Method in interface org.leadpony.justify.api.ValidationConfig
-
Specifies the JSON schema used by the validators.
- withSchemaResolver(JsonSchemaResolver) - Method in interface org.leadpony.justify.api.JsonSchemaReaderFactoryBuilder
-
Adds a resolver of external JSON schemas to this builder.
- withSchemaValidation(boolean) - Method in interface org.leadpony.justify.api.JsonSchemaReaderFactoryBuilder
-
Specifies whether the schema reader validates the schema against the metaschema or not.
- withSpecVersionDetection(boolean) - Method in interface org.leadpony.justify.api.JsonSchemaReaderFactoryBuilder
-
Enables or disables the automatic detection of specification version.
- withStrictFormats(boolean) - Method in interface org.leadpony.justify.api.JsonSchemaReaderFactoryBuilder
-
Specifies whether the schema reader is strict with formats or not.
- withStrictKeywords(boolean) - Method in interface org.leadpony.justify.api.JsonSchemaReaderFactoryBuilder
-
Specifies whether the schema reader is strict with keywords or not.
- withThen(JsonSchema) - Method in interface org.leadpony.justify.api.JsonSchemaBuilder
-
Adds a "then" keyword to the schema.
- withTitle(String) - Method in interface org.leadpony.justify.api.JsonSchemaBuilder
-
Adds a "title" keyword to the schema.
- withType(Set<InstanceType>) - Method in interface org.leadpony.justify.api.JsonSchemaBuilder
-
Adds a "type" keyword to the schema.
- withType(InstanceType...) - Method in interface org.leadpony.justify.api.JsonSchemaBuilder
-
Adds a "type" keyword to the schema.
- withUniqueItems(boolean) - Method in interface org.leadpony.justify.api.JsonSchemaBuilder
-
Adds a "uniqueItems" keyword to the schema.
All Classes All Packages