public static class JsonSchemaFactory.Builder extends Object
Constructor and Description |
---|
Builder() |
public JsonSchemaFactory.Builder objectMapper(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
public JsonSchemaFactory.Builder defaultMetaSchemaURI(String defaultMetaSchemaURI)
public JsonSchemaFactory.Builder uriFactory(URIFactory uriFactory, String... schemes)
URIFactory
.uriFactory
- the uri factory that will be used for the given schemes.schemes
- the scheme that the uri factory will be assocaited with.public JsonSchemaFactory.Builder uriFactory(URIFactory uriFactory, Iterable<String> schemes)
public JsonSchemaFactory.Builder uriFetcher(URIFetcher uriFetcher, String... schemes)
URIFetcher
.uriFetcher
- the uri fetcher that will be used for the given schemes.schemes
- the scheme that the uri fetcher will be assocaited with.public JsonSchemaFactory.Builder uriFetcher(URIFetcher uriFetcher, Iterable<String> schemes)
public JsonSchemaFactory.Builder addMetaSchema(JsonMetaSchema jsonMetaSchema)
public JsonSchemaFactory.Builder addMetaSchemas(Collection<? extends JsonMetaSchema> jsonMetaSchemas)
public JsonSchemaFactory.Builder addUriMappings(Map<String,String> map)
public JsonSchemaFactory.Builder addUrnFactory(URNFactory urnFactory)
public JsonSchemaFactory.Builder forceHttps(boolean forceHttps)
public JsonSchemaFactory build()
Copyright © 2021. All rights reserved.