public final class URITranslator
extends java.lang.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) |
| Modifier and Type | Method and Description |
|---|---|
java.net.URI |
translate(java.net.URI source) |
public URITranslator(URITranslatorConfiguration cfg)