public final class LoadingConfiguration extends Object implements com.github.fge.Frozen<LoadingConfigurationBuilder>
With a loading configuration, you can influence the following aspects:
The default configuration only preloads the core metaschemas for draft v4 and draft v3, and uses canonical dereferencing mode; it also uses the default set of supported schemes.
| Modifier and Type | Method and Description |
|---|---|
static LoadingConfiguration |
byDefault()
Create a default, immutable loading configuration
|
Dereferencing |
getDereferencing()
Return the dereferencing mode used for this configuration
|
Dictionary<URIDownloader> |
getDownloaders()
Return the dictionary of URI downloaders
|
URI |
getNamespace()
Return the URI namespace
|
Map<URI,JsonNode> |
getPreloadedSchemas()
Return the map of preloaded schemas
|
Map<URI,URI> |
getSchemaRedirects()
Return the map of schema redirects
|
static LoadingConfigurationBuilder |
newBuilder()
Create a new, default, mutable configuration instance
|
LoadingConfigurationBuilder |
thaw()
Return a thawed version of this loading configuration
|
public static LoadingConfigurationBuilder newBuilder()
LoadingConfigurationBuilderpublic static LoadingConfiguration byDefault()
This is the result of calling Thawed.freeze() on newBuilder().
public Dictionary<URIDownloader> getDownloaders()
Dictionarypublic URI getNamespace()
public Dereferencing getDereferencing()
public Map<URI,URI> getSchemaRedirects()
public Map<URI,JsonNode> getPreloadedSchemas()
public LoadingConfigurationBuilder thaw()
thaw in interface com.github.fge.Frozen<LoadingConfigurationBuilder>LoadingConfigurationBuilder.LoadingConfigurationBuilder(LoadingConfiguration)Copyright © 2013. All Rights Reserved.