Package io.vertx.json.schema
Class JsonSchemaOptions
- java.lang.Object
-
- io.vertx.json.schema.JsonSchemaOptions
-
public class JsonSchemaOptions extends Object
Configuration options for the Json-Schema validator- Author:
- Paulo Lopes
-
-
Constructor Summary
Constructors Constructor Description JsonSchemaOptions()JsonSchemaOptions(JsonObject json)JsonSchemaOptions(JsonSchemaOptions other)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetBaseUri()DraftgetDraft()OutputFormatgetOutputFormat()JsonSchemaOptionssetBaseUri(String baseUri)JsonSchemaOptionssetDraft(Draft draft)JsonSchemaOptionssetOutputFormat(OutputFormat outputFormat)JsonObjecttoJson()StringtoString()
-
-
-
Constructor Detail
-
JsonSchemaOptions
public JsonSchemaOptions()
-
JsonSchemaOptions
public JsonSchemaOptions(JsonObject json)
-
JsonSchemaOptions
public JsonSchemaOptions(JsonSchemaOptions other)
-
-
Method Detail
-
getBaseUri
public String getBaseUri()
-
setBaseUri
public JsonSchemaOptions setBaseUri(String baseUri)
-
getDraft
public Draft getDraft()
-
setDraft
public JsonSchemaOptions setDraft(Draft draft)
-
getOutputFormat
public OutputFormat getOutputFormat()
-
setOutputFormat
public JsonSchemaOptions setOutputFormat(OutputFormat outputFormat)
-
toJson
public JsonObject toJson()
-
-