public class SchemaHolderImpl extends Object implements SchemaHolder
| Constructor and Description |
|---|
SchemaHolderImpl(JsonObject originalSchema,
JsonPointer schemaPointer,
Supplier<Map.Entry<JsonPointer,JsonObject>> normalizedSchemaSupplier,
JsonObject fakeSchema,
BiFunction<JsonObject,JsonPointer,SchemaValidator> validatorFactory) |
| Modifier and Type | Method and Description |
|---|---|
JsonObject |
getFakeSchema()
The result of this function creates a schema with different semantics, so don't use it!
It's useful for ValueParser inference only
|
JsonObject |
getNormalizedSchema() |
JsonObject |
getOriginalSchema() |
JsonPointer |
getSchemaPointer() |
SchemaValidator |
getValidator() |
public SchemaHolderImpl(JsonObject originalSchema, JsonPointer schemaPointer, Supplier<Map.Entry<JsonPointer,JsonObject>> normalizedSchemaSupplier, JsonObject fakeSchema, BiFunction<JsonObject,JsonPointer,SchemaValidator> validatorFactory)
public JsonObject getOriginalSchema()
getOriginalSchema in interface SchemaHolderpublic JsonPointer getSchemaPointer()
getSchemaPointer in interface SchemaHolderpublic JsonObject getNormalizedSchema()
getNormalizedSchema in interface SchemaHolderpublic JsonObject getFakeSchema()
SchemaHoldergetFakeSchema in interface SchemaHolderpublic SchemaValidator getValidator()
getValidator in interface SchemaHolderCopyright © 2021. All rights reserved.