public final class URITranslator extends Object
When it is required that a URI be dereferenced (either by yourself,
using SchemaLoader.get(URI), or when a JSON Reference is encountered
in a JSON Schema), this class is in charge of translating the
resolved URI into a more suitable URI for your environment.
Translation is done in three steps:
By default, the namespace is empty and no path or schema translations are defined.
URITranslatorConfiguration| Constructor and Description |
|---|
URITranslator(URITranslatorConfiguration cfg) |
public URITranslator(URITranslatorConfiguration cfg)