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

A

AbstractConstants - Class in be.ac.umons.jsonschematools
Constants used for our abstractions for strings, integers, numbers, and enum values.
AbstractConstants() - Constructor for class be.ac.umons.jsonschematools.AbstractConstants
 
abstractConstValue(Object) - Static method in class be.ac.umons.jsonschematools.AbstractConstants
Abstract a const value given in an object.

B

be.ac.umons.jsonschematools - package be.ac.umons.jsonschematools
Contains tools to manipulate and abstract a JSON Schema.
be.ac.umons.jsonschematools.generator - package be.ac.umons.jsonschematools.generator
Contains tools to generate documents satisfying a specified JSON schema.
be.ac.umons.jsonschematools.generator.exploration - package be.ac.umons.jsonschematools.generator.exploration
Contains a generator that produces documents by exhaustively exploring the JSON schema.
be.ac.umons.jsonschematools.generator.exploration.handlers - package be.ac.umons.jsonschematools.generator.exploration.handlers
Contains default implementations of handlers for the exploration generator.
be.ac.umons.jsonschematools.generator.random - package be.ac.umons.jsonschematools.generator.random
Contains a generator that produces documents by making random choices in the JSON schema.
be.ac.umons.jsonschematools.generator.random.handlers - package be.ac.umons.jsonschematools.generator.random.handlers
Contains default implementations of handlers for the generator.
be.ac.umons.jsonschematools.validator - package be.ac.umons.jsonschematools.validator
Contains a tool to decide whether a JSON document satisfies a JSON schema.
be.ac.umons.jsonschematools.validator.handlers - package be.ac.umons.jsonschematools.validator.handlers
Contains default implementations of handlers for the validator.

C

Choice - Class in be.ac.umons.jsonschematools.generator.exploration
The encoding of a choice made while exploring all the possibilities described by a schema.
Choice(int, boolean) - Constructor for class be.ac.umons.jsonschematools.generator.exploration.Choice
Creates an exclusive or non-exclusive choice over the given number of possibilities
ChoicesSequence - Class in be.ac.umons.jsonschematools.generator.exploration
A finite sequence of choices.
ChoicesSequence() - Constructor for class be.ac.umons.jsonschematools.generator.exploration.ChoicesSequence
 
containsChoiceWithNextValue() - Method in class be.ac.umons.jsonschematools.generator.exploration.ChoicesSequence
Checks whether the sequence contains a choice that has a value not yet explored.
createIterator(JSONSchema, int, boolean) - Method in class be.ac.umons.jsonschematools.generator.exploration.ExplorationGenerator
 
createIterator(JSONSchema) - Method in interface be.ac.umons.jsonschematools.generator.IGenerator
Creates an iterator over the documents this generator can produce.
createIterator(JSONSchema, int) - Method in interface be.ac.umons.jsonschematools.generator.IGenerator
Creates an iterator over the documents this generator can produce up to the given document depth.
createIterator(JSONSchema, boolean) - Method in interface be.ac.umons.jsonschematools.generator.IGenerator
Creates an iterator over the documents this generator can produce.
createIterator(JSONSchema, int, boolean) - Method in interface be.ac.umons.jsonschematools.generator.IGenerator
Creates an iterator over the documents this generator can produce up to the given document depth.
createIterator(JSONSchema, int, boolean) - Method in class be.ac.umons.jsonschematools.generator.random.RandomGenerator
 
createIterator(JSONSchema, int, boolean, Random) - Method in class be.ac.umons.jsonschematools.generator.random.RandomGenerator
 
createNewChoice(int, boolean) - Method in class be.ac.umons.jsonschematools.generator.exploration.ChoicesSequence
 
currentValue() - Method in class be.ac.umons.jsonschematools.generator.exploration.Choice
 

D

DefaultArrayHandler - Class in be.ac.umons.jsonschematools.generator.exploration.handlers
Generates an array by exploring all the possibilities in the schema.
DefaultArrayHandler() - Constructor for class be.ac.umons.jsonschematools.generator.exploration.handlers.DefaultArrayHandler
 
DefaultArrayHandler(int) - Constructor for class be.ac.umons.jsonschematools.generator.exploration.handlers.DefaultArrayHandler
 
DefaultArrayHandler - Class in be.ac.umons.jsonschematools.generator.random.handlers
An array handler that returns an array in which elements are abstracted.
DefaultArrayHandler() - Constructor for class be.ac.umons.jsonschematools.generator.random.handlers.DefaultArrayHandler
 
DefaultArrayHandler(int) - Constructor for class be.ac.umons.jsonschematools.generator.random.handlers.DefaultArrayHandler
 
DefaultArrayHandler - Class in be.ac.umons.jsonschematools.validator.handlers
A handler to validate abstract arrays.
DefaultArrayHandler() - Constructor for class be.ac.umons.jsonschematools.validator.handlers.DefaultArrayHandler
 
DefaultBooleanHandler - Class in be.ac.umons.jsonschematools.generator.exploration.handlers
Generates a boolean by exploring all the possibilities in the schema.
DefaultBooleanHandler() - Constructor for class be.ac.umons.jsonschematools.generator.exploration.handlers.DefaultBooleanHandler
 
DefaultBooleanHandler - Class in be.ac.umons.jsonschematools.generator.random.handlers
A boolean handler that returns true or false, according to the given schema.
DefaultBooleanHandler() - Constructor for class be.ac.umons.jsonschematools.generator.random.handlers.DefaultBooleanHandler
 
DefaultBooleanHandler - Class in be.ac.umons.jsonschematools.validator.handlers
A handler to validate boolean values.
DefaultBooleanHandler() - Constructor for class be.ac.umons.jsonschematools.validator.handlers.DefaultBooleanHandler
 
DefaultEnumHandler - Class in be.ac.umons.jsonschematools.generator.exploration.handlers
Generates an abstracted enumeration value.
DefaultEnumHandler() - Constructor for class be.ac.umons.jsonschematools.generator.exploration.handlers.DefaultEnumHandler
 
DefaultEnumHandler - Class in be.ac.umons.jsonschematools.generator.random.handlers
An enumeration handler that returns an abstracted enum value, i.e., "\E".
DefaultEnumHandler() - Constructor for class be.ac.umons.jsonschematools.generator.random.handlers.DefaultEnumHandler
 
DefaultEnumHandler - Class in be.ac.umons.jsonschematools.validator.handlers
A handler to validate abstracted enumeration values.
DefaultEnumHandler() - Constructor for class be.ac.umons.jsonschematools.validator.handlers.DefaultEnumHandler
 
DefaultExplorationGenerator - Class in be.ac.umons.jsonschematools.generator.exploration
Constructs an ExplorationGenerator with the default handlers to exhaustively produce abstracted values in a JSON document.
DefaultExplorationGenerator(int, int) - Constructor for class be.ac.umons.jsonschematools.generator.exploration.DefaultExplorationGenerator
 
DefaultExplorationGenerator() - Constructor for class be.ac.umons.jsonschematools.generator.exploration.DefaultExplorationGenerator
 
DefaultIntegerHandler - Class in be.ac.umons.jsonschematools.generator.exploration.handlers
Generates an abstracted integer value.
DefaultIntegerHandler() - Constructor for class be.ac.umons.jsonschematools.generator.exploration.handlers.DefaultIntegerHandler
 
DefaultIntegerHandler - Class in be.ac.umons.jsonschematools.generator.random.handlers
An integer handler that returns an abstracted integer, i.e., "\I".
DefaultIntegerHandler() - Constructor for class be.ac.umons.jsonschematools.generator.random.handlers.DefaultIntegerHandler
 
DefaultIntegerHandler - Class in be.ac.umons.jsonschematools.validator.handlers
A handler to validate abstracted integer values.
DefaultIntegerHandler() - Constructor for class be.ac.umons.jsonschematools.validator.handlers.DefaultIntegerHandler
 
DefaultNumberHandler - Class in be.ac.umons.jsonschematools.generator.exploration.handlers
Generates an abstracted number value.
DefaultNumberHandler() - Constructor for class be.ac.umons.jsonschematools.generator.exploration.handlers.DefaultNumberHandler
 
DefaultNumberHandler - Class in be.ac.umons.jsonschematools.generator.random.handlers
A number handler that returns an abstracted number, i.e., "\D".
DefaultNumberHandler() - Constructor for class be.ac.umons.jsonschematools.generator.random.handlers.DefaultNumberHandler
 
DefaultNumberHandler - Class in be.ac.umons.jsonschematools.validator.handlers
A handler to validate abstracted number values.
DefaultNumberHandler() - Constructor for class be.ac.umons.jsonschematools.validator.handlers.DefaultNumberHandler
 
DefaultObjectHandler - Class in be.ac.umons.jsonschematools.generator.exploration.handlers
Generated an object by exhaustively exploring the possibilities described in a schema.
DefaultObjectHandler() - Constructor for class be.ac.umons.jsonschematools.generator.exploration.handlers.DefaultObjectHandler
 
DefaultObjectHandler(int) - Constructor for class be.ac.umons.jsonschematools.generator.exploration.handlers.DefaultObjectHandler
 
DefaultObjectHandler - Class in be.ac.umons.jsonschematools.generator.random.handlers
An object handler that returns an object in which values are abstracted.
DefaultObjectHandler() - Constructor for class be.ac.umons.jsonschematools.generator.random.handlers.DefaultObjectHandler
 
DefaultObjectHandler(int) - Constructor for class be.ac.umons.jsonschematools.generator.random.handlers.DefaultObjectHandler
 
DefaultObjectHandler - Class in be.ac.umons.jsonschematools.validator.handlers
A handler to validate abstract objects.
DefaultObjectHandler() - Constructor for class be.ac.umons.jsonschematools.validator.handlers.DefaultObjectHandler
 
DefaultRandomGenerator - Class in be.ac.umons.jsonschematools.generator.random
Constructs a RandomGenerator with the default handlers to produce abstracted values in a JSON document.
DefaultRandomGenerator(int, int) - Constructor for class be.ac.umons.jsonschematools.generator.random.DefaultRandomGenerator
 
DefaultRandomGenerator() - Constructor for class be.ac.umons.jsonschematools.generator.random.DefaultRandomGenerator
 
DefaultStringHandler - Class in be.ac.umons.jsonschematools.generator.exploration.handlers
Generates an abstracted string value.
DefaultStringHandler() - Constructor for class be.ac.umons.jsonschematools.generator.exploration.handlers.DefaultStringHandler
 
DefaultStringHandler - Class in be.ac.umons.jsonschematools.generator.random.handlers
A string handler that returns an abstracted string, i.e., "\S".
DefaultStringHandler() - Constructor for class be.ac.umons.jsonschematools.generator.random.handlers.DefaultStringHandler
 
DefaultStringHandler - Class in be.ac.umons.jsonschematools.validator.handlers
A handler to validate abstracted string values.
DefaultStringHandler() - Constructor for class be.ac.umons.jsonschematools.validator.handlers.DefaultStringHandler
 
DefaultValidator - Class in be.ac.umons.jsonschematools.validator
Constructs a Validator with default handlers.
DefaultValidator() - Constructor for class be.ac.umons.jsonschematools.validator.DefaultValidator
 
depth() - Method in class be.ac.umons.jsonschematools.JSONSchema
Computes the depth of the schema, i.e., the maximal number of nested objects.
dropAllOfAnyOfOneOfAndNot() - Method in class be.ac.umons.jsonschematools.JSONSchema
Returns a copy of this schema without the sub-schemas for allOf, anyOf, oneOf, and not.

E

EMPTY_VALUE_DUE_TO_MAX_DEPTH - Static variable in class be.ac.umons.jsonschematools.generator.exploration.ExplorationGenerator
 
enumConstant - Static variable in class be.ac.umons.jsonschematools.AbstractConstants
 
ExplorationGenerator - Class in be.ac.umons.jsonschematools.generator.exploration
A generator that produces documents by exhaustively exploring the possibilities described in a JSON schema.
ExplorationGenerator(IHandler, IHandler, IHandler, IHandler, IHandler, IHandler, IHandler) - Constructor for class be.ac.umons.jsonschematools.generator.exploration.ExplorationGenerator
 

F

falseDocument() - Static method in class be.ac.umons.jsonschematools.JSONSchemaStore
 
falseSchema() - Method in class be.ac.umons.jsonschematools.JSONSchemaStore
 

G

generate(JSONSchema, ExplorationGenerator, int, boolean, ChoicesSequence) - Method in class be.ac.umons.jsonschematools.generator.exploration.handlers.DefaultArrayHandler
 
generate(JSONSchema, ExplorationGenerator, int, boolean, ChoicesSequence) - Method in class be.ac.umons.jsonschematools.generator.exploration.handlers.DefaultBooleanHandler
 
generate(JSONSchema, ExplorationGenerator, int, boolean, ChoicesSequence) - Method in class be.ac.umons.jsonschematools.generator.exploration.handlers.DefaultEnumHandler
 
generate(JSONSchema, ExplorationGenerator, int, boolean, ChoicesSequence) - Method in class be.ac.umons.jsonschematools.generator.exploration.handlers.DefaultIntegerHandler
 
generate(JSONSchema, ExplorationGenerator, int, boolean, ChoicesSequence) - Method in class be.ac.umons.jsonschematools.generator.exploration.handlers.DefaultNumberHandler
 
generate(JSONSchema, ExplorationGenerator, int, boolean, ChoicesSequence) - Method in class be.ac.umons.jsonschematools.generator.exploration.handlers.DefaultObjectHandler
 
generate(JSONSchema, ExplorationGenerator, int, boolean, ChoicesSequence) - Method in class be.ac.umons.jsonschematools.generator.exploration.handlers.DefaultStringHandler
 
generate(JSONSchema, ExplorationGenerator, int, boolean, ChoicesSequence) - Method in interface be.ac.umons.jsonschematools.generator.exploration.handlers.IHandler
Generates the value according to the schema.
generate(RandomGenerator, JSONSchema, int, boolean, Random) - Method in class be.ac.umons.jsonschematools.generator.random.handlers.DefaultArrayHandler
 
generate(RandomGenerator, JSONSchema, int, boolean, Random) - Method in class be.ac.umons.jsonschematools.generator.random.handlers.DefaultBooleanHandler
 
generate(RandomGenerator, JSONSchema, int, boolean, Random) - Method in class be.ac.umons.jsonschematools.generator.random.handlers.DefaultEnumHandler
 
generate(RandomGenerator, JSONSchema, int, boolean, Random) - Method in class be.ac.umons.jsonschematools.generator.random.handlers.DefaultIntegerHandler
 
generate(RandomGenerator, JSONSchema, int, boolean, Random) - Method in class be.ac.umons.jsonschematools.generator.random.handlers.DefaultNumberHandler
 
generate(RandomGenerator, JSONSchema, int, boolean, Random) - Method in class be.ac.umons.jsonschematools.generator.random.handlers.DefaultObjectHandler
 
generate(RandomGenerator, JSONSchema, int, boolean, Random) - Method in class be.ac.umons.jsonschematools.generator.random.handlers.DefaultStringHandler
 
generate(RandomGenerator, JSONSchema, int, boolean, Random) - Method in interface be.ac.umons.jsonschematools.generator.random.handlers.IHandler
 
generate(JSONSchema, int, boolean) - Method in class be.ac.umons.jsonschematools.generator.random.RandomGenerator
 
generate(JSONSchema, int, boolean, Random) - Method in class be.ac.umons.jsonschematools.generator.random.RandomGenerator
 
generateAccordingToConstraints(JSONSchema, int, boolean, Random) - Method in class be.ac.umons.jsonschematools.generator.random.RandomGenerator
Generates a value according to the constraints given by schema.
generateDocument(JSONSchema, int, boolean, ChoicesSequence) - Method in class be.ac.umons.jsonschematools.generator.exploration.ExplorationGenerator
 
generateInvalid(boolean, Random) - Method in interface be.ac.umons.jsonschematools.generator.random.handlers.IHandler
 
generateValueAccordingToConstraints(JSONSchema, int, boolean, ChoicesSequence) - Method in class be.ac.umons.jsonschematools.generator.exploration.ExplorationGenerator
Generates a value according to the constraints given in the schema and following the sequence of choices.
generateValueAccordingToConstraints(JSONSchema, int, boolean, ChoicesSequence, boolean) - Method in class be.ac.umons.jsonschematools.generator.exploration.ExplorationGenerator
 
GeneratorException - Exception in be.ac.umons.jsonschematools.generator.random
The exception thrown if the generator can not generate a value.
GeneratorException(String) - Constructor for exception be.ac.umons.jsonschematools.generator.random.GeneratorException
 
get(int) - Method in class be.ac.umons.jsonschematools.HashableJSONArray
 
get(String) - Method in class be.ac.umons.jsonschematools.HashableJSONObject
 
getAdditionalProperties() - Method in class be.ac.umons.jsonschematools.JSONSchema
Returns the schema describing the additional properties of this schema.
getAllKeysDefinedInSchema() - Method in class be.ac.umons.jsonschematools.JSONSchema
Retrieves all the keys present in this schema.
getAllOf() - Method in class be.ac.umons.jsonschematools.JSONSchema
Gets a single schema obtained by merging together all the sub-schemas in the allOf array.
getAllowedTypes() - Method in class be.ac.umons.jsonschematools.JSONSchema
Gets all the types that are allowed in this schema.
getAnyOf() - Method in class be.ac.umons.jsonschematools.JSONSchema
Gets a list containing one schema by element in the anyOf array.
getArrayHandler() - Method in class be.ac.umons.jsonschematools.generator.random.RandomGenerator
 
getArrayHandler() - Method in class be.ac.umons.jsonschematools.validator.Validator
 
getBitSet() - Method in class be.ac.umons.jsonschematools.generator.exploration.Choice
 
getBitSetNextInclusiveSelectionInList(int, int) - Method in class be.ac.umons.jsonschematools.generator.exploration.ChoicesSequence
Gets the next possible BitSet that represents a selection of lengthSelection elements in a list.
getBoolean(String) - Method in class be.ac.umons.jsonschematools.JSONSchema
 
getBooleanHandler() - Method in class be.ac.umons.jsonschematools.generator.random.RandomGenerator
 
getBooleanHandler() - Method in class be.ac.umons.jsonschematools.validator.Validator
 
getBooleanOr(String, boolean) - Method in class be.ac.umons.jsonschematools.JSONSchema
 
getChoiceForSelectionInList(int, boolean, boolean) - Method in class be.ac.umons.jsonschematools.generator.exploration.ChoicesSequence
Gets the next possible Choice for selecting one or multiple elements in a list.
getConstValue() - Method in class be.ac.umons.jsonschematools.JSONSchema
Returns the const value defined in this schema.
getConstValueIfType(Class<T>) - Method in class be.ac.umons.jsonschematools.JSONSchema
Returns the const value defined in this schema, if the value's type matches the provided type.
getDouble(String) - Method in class be.ac.umons.jsonschematools.JSONSchema
 
getDoubleOr(String, double) - Method in class be.ac.umons.jsonschematools.JSONSchema
 
getEnumHandler() - Method in class be.ac.umons.jsonschematools.generator.random.RandomGenerator
 
getEnumHandler() - Method in class be.ac.umons.jsonschematools.validator.Validator
 
getForbiddenValues() - Method in class be.ac.umons.jsonschematools.JSONSchema
Gets all the values that are forbidden by this schema.
getForbiddenValuesFilteredByType(Class<T>) - Method in class be.ac.umons.jsonschematools.JSONSchema
Gets all the values of the given type that are forbidden by this schema.
getIndexNextExclusiveSelectionInList(int) - Method in class be.ac.umons.jsonschematools.generator.exploration.ChoicesSequence
Gets the next possible index of a list, i.e., a number between 0 and listSize - 1.
getInt(String) - Method in class be.ac.umons.jsonschematools.JSONSchema
 
getIntegerHandler() - Method in class be.ac.umons.jsonschematools.generator.random.RandomGenerator
 
getIntegerHandler() - Method in class be.ac.umons.jsonschematools.validator.Validator
 
getIntOr(String, int) - Method in class be.ac.umons.jsonschematools.JSONSchema
 
getItemsArray() - Method in class be.ac.umons.jsonschematools.JSONSchema
Gets the sub-schemas for the items in an array.
getJSONArray(int) - Method in class be.ac.umons.jsonschematools.HashableJSONArray
 
getJSONArray(String) - Method in class be.ac.umons.jsonschematools.HashableJSONObject
 
getJSONObject(int) - Method in class be.ac.umons.jsonschematools.HashableJSONArray
 
getJSONObject(String) - Method in class be.ac.umons.jsonschematools.HashableJSONObject
 
getNextBooleanValue() - Method in class be.ac.umons.jsonschematools.generator.exploration.ChoicesSequence
Gets the next Boolean value.
getNextChoiceInExploration() - Method in class be.ac.umons.jsonschematools.generator.exploration.ChoicesSequence
Gets the next choice for the current exploration and moves forward in the sequence.
getNextValueBetween(int, int) - Method in class be.ac.umons.jsonschematools.generator.exploration.ChoicesSequence
Using a Choice, gets the next possible value between minValue and maxValue (both bounds are included).
getNonRequiredProperties() - Method in class be.ac.umons.jsonschematools.JSONSchema
Gets the pairs key-value that are not required by this schema.
getNot() - Method in class be.ac.umons.jsonschematools.JSONSchema
Gets a list of sub-schemas, after propagating the not inside each sub-schema.
getNumber(String) - Method in class be.ac.umons.jsonschematools.JSONSchema
 
getNumberHandler() - Method in class be.ac.umons.jsonschematools.generator.random.RandomGenerator
 
getNumberHandler() - Method in class be.ac.umons.jsonschematools.validator.Validator
 
getNumberOr(String, Number) - Method in class be.ac.umons.jsonschematools.JSONSchema
 
getObjectHandler() - Method in class be.ac.umons.jsonschematools.generator.random.RandomGenerator
 
getObjectHandler() - Method in class be.ac.umons.jsonschematools.validator.Validator
 
getOneOf() - Method in class be.ac.umons.jsonschematools.JSONSchema
Gets a list containing one possible combination of the elements in the oneOf array, by applying the XOR operation.
getRawNot() - Method in class be.ac.umons.jsonschematools.JSONSchema
Get the contents of the key not, without any modifications.
getRequiredProperties() - Method in class be.ac.umons.jsonschematools.JSONSchema
Gets the pairs key-value that are required by this schema.
getRequiredPropertiesKeys() - Method in class be.ac.umons.jsonschematools.JSONSchema
Gets the keys that are required in this schema's properties.
getStore() - Method in class be.ac.umons.jsonschematools.JSONSchema
Returns the JSONSchemaStore holding this schema.
getString(String) - Method in class be.ac.umons.jsonschematools.JSONSchema
 
getStringHandler() - Method in class be.ac.umons.jsonschematools.generator.random.RandomGenerator
 
getStringHandler() - Method in class be.ac.umons.jsonschematools.validator.Validator
 
getStringOr(String, String) - Method in class be.ac.umons.jsonschematools.JSONSchema
 
getSubSchema(String) - Method in class be.ac.umons.jsonschematools.JSONSchema
Gets the sub-schema for the key key.
getSubSchemaProperties(String) - Method in class be.ac.umons.jsonschematools.JSONSchema
Gets the sub-schema for the property key.

H

Handler - Interface in be.ac.umons.jsonschematools.validator.handlers
A handler for the validator.
HashableJSONArray - Class in be.ac.umons.jsonschematools
A JSONArray that overrides the hashCode function.
HashableJSONArray() - Constructor for class be.ac.umons.jsonschematools.HashableJSONArray
 
HashableJSONArray(int) - Constructor for class be.ac.umons.jsonschematools.HashableJSONArray
 
HashableJSONArray(Collection<?>) - Constructor for class be.ac.umons.jsonschematools.HashableJSONArray
 
HashableJSONArray(JSONArray) - Constructor for class be.ac.umons.jsonschematools.HashableJSONArray
 
HashableJSONObject - Class in be.ac.umons.jsonschematools
A JSONObject that overrides the hashCode function.
HashableJSONObject() - Constructor for class be.ac.umons.jsonschematools.HashableJSONObject
 
HashableJSONObject(JSONTokener) - Constructor for class be.ac.umons.jsonschematools.HashableJSONObject
 
HashableJSONObject(JSONObject) - Constructor for class be.ac.umons.jsonschematools.HashableJSONObject
 
hashCode() - Method in class be.ac.umons.jsonschematools.HashableJSONArray
 
hashCode() - Method in class be.ac.umons.jsonschematools.HashableJSONObject
 
hasNext() - Method in class be.ac.umons.jsonschematools.generator.random.RandomIterator
 
hasNextChoiceInExploration() - Method in class be.ac.umons.jsonschematools.generator.exploration.ChoicesSequence
Checks whether there is a choice already in the sequence for the current exploration of the schema.
hasNextValue() - Method in class be.ac.umons.jsonschematools.generator.exploration.Choice
 
hasUnseenValueFurtherInExploration() - Method in class be.ac.umons.jsonschematools.generator.exploration.ChoicesSequence
Checks whether there is a choice with a next value below the current choice in the exploration.

I

IGenerator - Interface in be.ac.umons.jsonschematools.generator
The interface for a generator producing JSON documents by using a JSONSchema.
IHandler - Interface in be.ac.umons.jsonschematools.generator.exploration.handlers
A handler for the exploration generator.
IHandler - Interface in be.ac.umons.jsonschematools.generator.random.handlers
A handler for the generator.
integerConstant - Static variable in class be.ac.umons.jsonschematools.AbstractConstants
 
isArray() - Method in class be.ac.umons.jsonschematools.JSONSchema
Returns true if this schema allows the type ARRAY.
isBoolean() - Method in class be.ac.umons.jsonschematools.JSONSchema
Returns true if this schema allows the type BOOLEAN.
isEnum() - Method in class be.ac.umons.jsonschematools.JSONSchema
Returns true if this schema allows the type ENUM.
isExclusive() - Method in class be.ac.umons.jsonschematools.generator.exploration.Choice
 
isFalseDocument(JSONObject) - Static method in class be.ac.umons.jsonschematools.JSONSchemaStore
 
isFalseSchema(JSONSchema) - Static method in class be.ac.umons.jsonschematools.JSONSchemaStore
 
isInteger() - Method in class be.ac.umons.jsonschematools.JSONSchema
Returns true if this schema allows the type INTEGER.
isNull() - Method in class be.ac.umons.jsonschematools.JSONSchema
Returns true if this schema allows the type NULL.
isNumber() - Method in class be.ac.umons.jsonschematools.JSONSchema
Returns true if this schema allows the type NUMBER.
isObject() - Method in class be.ac.umons.jsonschematools.JSONSchema
Returns true if this schema allows the type OBJECT.
isString() - Method in class be.ac.umons.jsonschematools.JSONSchema
Returns true if this schema allows the type STRING.
isTrueDocument(JSONObject) - Static method in class be.ac.umons.jsonschematools.JSONSchemaStore
 
isTrueSchema(JSONSchema) - Static method in class be.ac.umons.jsonschematools.JSONSchemaStore
 
iterator() - Method in class be.ac.umons.jsonschematools.generator.exploration.ChoicesSequence
 

J

JSONSchema - Class in be.ac.umons.jsonschematools
A JSON schema stores the constraints a JSON document must satisfy to be valid.
JSONSchemaException - Exception in be.ac.umons.jsonschematools
Exception thrown by a JSON Schema.
JSONSchemaException(String) - Constructor for exception be.ac.umons.jsonschematools.JSONSchemaException
 
JSONSchemaStore - Class in be.ac.umons.jsonschematools
Stores the schemas used so far.
JSONSchemaStore() - Constructor for class be.ac.umons.jsonschematools.JSONSchemaStore
 
JSONSchemaStore(boolean) - Constructor for class be.ac.umons.jsonschematools.JSONSchemaStore
 

L

load(URI) - Method in class be.ac.umons.jsonschematools.JSONSchemaStore
Loads a JSON schema from a file stored in the computer's filesystem.
loadFromJSONObject(JSONObject) - Method in class be.ac.umons.jsonschematools.JSONSchemaStore
Loads a JSON schema directly from a JSON object

M

merge(JSONSchema) - Method in class be.ac.umons.jsonschematools.JSONSchema
Merge this schema with an other schema.

N

needsFurtherUnfolding() - Method in class be.ac.umons.jsonschematools.JSONSchema
Checks whether there are still some constraints in some sub-schemas that must be merged with the whole schema.
next() - Method in class be.ac.umons.jsonschematools.generator.random.RandomIterator
 
nextValue() - Method in class be.ac.umons.jsonschematools.generator.exploration.Choice
 
numberConstant - Static variable in class be.ac.umons.jsonschematools.AbstractConstants
 
numberOfValues() - Method in class be.ac.umons.jsonschematools.generator.exploration.Choice
 

P

popLastChoice() - Method in class be.ac.umons.jsonschematools.generator.exploration.ChoicesSequence
Remove the last choice in the sequence.

R

RandomGenerator - Class in be.ac.umons.jsonschematools.generator.random
A generator for JSON documents, given a JSON schema.
RandomGenerator(IHandler, IHandler, IHandler, IHandler, IHandler, IHandler, IHandler) - Constructor for class be.ac.umons.jsonschematools.generator.random.RandomGenerator
 
RandomIterator - Class in be.ac.umons.jsonschematools.generator.random
An iterator over the documents produced by a RandomGenerator.
removeAllChoicesAfterCurrentChoiceInExploration() - Method in class be.ac.umons.jsonschematools.generator.exploration.ChoicesSequence
Removes all the choices that are strictly after the current choice in the exploration.
removeAllChoicesComingAfter(Choice) - Method in class be.ac.umons.jsonschematools.generator.exploration.ChoicesSequence
Remove all the choices that are after the given choice.

S

stringConstant - Static variable in class be.ac.umons.jsonschematools.AbstractConstants
 

T

toString() - Method in class be.ac.umons.jsonschematools.generator.exploration.Choice
 
toString() - Method in class be.ac.umons.jsonschematools.generator.exploration.ChoicesSequence
 
toString() - Method in class be.ac.umons.jsonschematools.JSONSchema
 
trueDocument() - Static method in class be.ac.umons.jsonschematools.JSONSchemaStore
 
trueSchema() - Method in class be.ac.umons.jsonschematools.JSONSchemaStore
 
Type - Enum in be.ac.umons.jsonschematools
The different types a value can take.

V

validate(Validator, JSONSchema, Object) - Method in class be.ac.umons.jsonschematools.validator.handlers.DefaultArrayHandler
 
validate(Validator, JSONSchema, Object) - Method in class be.ac.umons.jsonschematools.validator.handlers.DefaultBooleanHandler
 
validate(Validator, JSONSchema, Object) - Method in class be.ac.umons.jsonschematools.validator.handlers.DefaultEnumHandler
 
validate(Validator, JSONSchema, Object) - Method in class be.ac.umons.jsonschematools.validator.handlers.DefaultIntegerHandler
 
validate(Validator, JSONSchema, Object) - Method in class be.ac.umons.jsonschematools.validator.handlers.DefaultNumberHandler
 
validate(Validator, JSONSchema, Object) - Method in class be.ac.umons.jsonschematools.validator.handlers.DefaultObjectHandler
 
validate(Validator, JSONSchema, Object) - Method in class be.ac.umons.jsonschematools.validator.handlers.DefaultStringHandler
 
validate(Validator, JSONSchema, Object) - Method in interface be.ac.umons.jsonschematools.validator.handlers.Handler
 
validate(JSONSchema, JSONObject) - Method in class be.ac.umons.jsonschematools.validator.Validator
Checks whether the provided document satisfies the schema
validateValue(JSONSchema, Object) - Method in class be.ac.umons.jsonschematools.validator.Validator
Validate a JSON value against a schema
Validator - Class in be.ac.umons.jsonschematools.validator
Decides whether a JSON document satisfies a JSON schema.
Validator(Handler, Handler, Handler, Handler, Handler, Handler, Handler) - Constructor for class be.ac.umons.jsonschematools.validator.Validator
 
valueOf(String) - Static method in enum be.ac.umons.jsonschematools.Type
Returns the enum constant of this type with the specified name.
values() - Static method in enum be.ac.umons.jsonschematools.Type
Returns an array containing the constants of this enum type, in the order they are declared.
A B C D E F G H I J L M N P R S T V 
Skip navigation links

Copyright © 2022. All rights reserved.