Package | Description |
---|---|
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 |
Contains default implementations of handlers for the exploration generator.
|
Modifier and Type | Method and Description |
---|---|
org.json.JSONObject |
ExplorationGenerator.generateDocument(JSONSchema schema,
int maxDocumentDepth,
boolean canGenerateInvalid,
ChoicesSequence choices) |
Optional<Object> |
ExplorationGenerator.generateValueAccordingToConstraints(JSONSchema schema,
int maxDocumentDepth,
boolean canGenerateInvalid,
ChoicesSequence choices)
Generates a value according to the constraints given in the schema and
following the sequence of choices.
|
Optional<Object> |
ExplorationGenerator.generateValueAccordingToConstraints(JSONSchema schema,
int maxDocumentDepth,
boolean canGenerateInvalid,
ChoicesSequence choices,
boolean mustBeObject) |
Modifier and Type | Method and Description |
---|---|
Optional<Object> |
DefaultObjectHandler.generate(JSONSchema schema,
ExplorationGenerator generator,
int maxDocumentDepth,
boolean canGenerateInvalid,
ChoicesSequence choices) |
Optional<Object> |
DefaultArrayHandler.generate(JSONSchema schema,
ExplorationGenerator generator,
int maxDocumentDepth,
boolean canGenerateInvalid,
ChoicesSequence choices) |
Optional<Object> |
DefaultBooleanHandler.generate(JSONSchema schema,
ExplorationGenerator generator,
int maxDocumentDepth,
boolean generateInvalid,
ChoicesSequence choices) |
Optional<Object> |
IHandler.generate(JSONSchema schema,
ExplorationGenerator generator,
int maxDocumentDepth,
boolean canGenerateInvalid,
ChoicesSequence choices)
Generates the value according to the schema.
|
Optional<Object> |
DefaultIntegerHandler.generate(JSONSchema schema,
ExplorationGenerator generator,
int maxDocumentDepth,
boolean canGenerateInvalid,
ChoicesSequence choices) |
Optional<Object> |
DefaultEnumHandler.generate(JSONSchema schema,
ExplorationGenerator generator,
int maxDocumentDepth,
boolean canGenerateInvalid,
ChoicesSequence choices) |
Optional<Object> |
DefaultStringHandler.generate(JSONSchema schema,
ExplorationGenerator generator,
int maxDocumentDepth,
boolean canGenerateInvalid,
ChoicesSequence choices) |
Optional<Object> |
DefaultNumberHandler.generate(JSONSchema schema,
ExplorationGenerator generator,
int maxDocumentDepth,
boolean canGenerateInvalid,
ChoicesSequence choices) |
Copyright © 2022. All rights reserved.