Top Description Fields Constructors Methods
org.opentest4j.reporting.schema

public final Class Schemas

extends Object
Class Inheritance
Imports
java.net.URL, java.util.HashMap, .Map, .Optional

Utility class for retrieving schema locations.
Since
0.2.2

Field Summary

Modifier and TypeField and Description
private static final Map<Namespace, String>

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static Optional<URL>

Returns:

the schema location for the given built-in namespace
getSchemaLocation
(Namespace
the namespace to get the schema location for
namespace
)

Returns the schema location for the given built-in namespace.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

SCHEMASback to summary
private static final Map<Namespace, String> SCHEMAS

Constructor Detail

Schemasback to summary
private Schemas()

Method Detail

getSchemaLocationback to summary
public static Optional<URL> getSchemaLocation(Namespace namespace)

Returns the schema location for the given built-in namespace.

Parameters
namespace:Namespace

the namespace to get the schema location for

Returns:Optional<URL>

the schema location for the given built-in namespace