Package org.everit.json.schema
Class Schema.Builder<S extends Schema>
java.lang.Object
org.everit.json.schema.Schema.Builder<S>
- Type Parameters:
S- the type of the schema being built by the builder subclass.
- Direct Known Subclasses:
ArraySchema.Builder,BooleanSchema.Builder,CombinedSchema.Builder,ConditionalSchema.Builder,ConstSchema.ConstSchemaBuilder,EmptySchema.Builder,EnumSchema.Builder,FalseSchema.Builder,NotSchema.Builder,NullSchema.Builder,NumberSchema.Builder,ObjectSchema.Builder,ReferenceSchema.Builder,StringSchema.Builder
- Enclosing class:
- Schema
Abstract builder class for the builder classes of
Schema subclasses. This builder is
used to load the generic properties of all types of schemas like title or
description.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract Sbuild()defaultValue(Object defaultValue) description(String description) schemaLocation(String schemaLocation) Deprecated.schemaLocation(SchemaLocation location) unprocessedProperties(Map<String, Object> unprocessedProperties)
-
Field Details
-
unprocessedProperties
-
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
title
-
description
-
id
-
schemaLocation
Deprecated.UseschemaLocation(SchemaLocation)instead. -
schemaLocation
-
defaultValue
-
nullable
-
readOnly
-
writeOnly
-
unprocessedProperties
-
build
-
schemaLocation(SchemaLocation)instead.