com.github.fge.jsonschema.core.load.uri
Class URITranslatorConfiguration

java.lang.Object
  extended by com.github.fge.jsonschema.core.load.uri.URITranslatorConfiguration
All Implemented Interfaces:
Frozen<URITranslatorConfigurationBuilder>

public final class URITranslatorConfiguration
extends Object
implements Frozen<URITranslatorConfigurationBuilder>

Configuration for a URITranslator

This class configures all aspects of URI translation. In order to create a new configuration, use newBuilder(), or use byDefault() if you want a default, no-op, translation configuration.

See Also:
URITranslatorConfigurationBuilder

Method Summary
static URITranslatorConfiguration byDefault()
          Create a default configuration
static URITranslatorConfigurationBuilder newBuilder()
          Create a new configuration builder
 URITranslatorConfigurationBuilder thaw()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

newBuilder

public static URITranslatorConfigurationBuilder newBuilder()
Create a new configuration builder

Returns:
a new URITranslatorConfigurationBuilder

byDefault

public static URITranslatorConfiguration byDefault()
Create a default configuration

The default configuration has no namespace, no path redirections and no schema redirections.

Returns:
a default configuration

thaw

public URITranslatorConfigurationBuilder thaw()
Specified by:
thaw in interface Frozen<URITranslatorConfigurationBuilder>