T - K - public abstract class SchemaBuilder<T extends SchemaBuilder<?,?>,K extends Keyword> extends Object
| Modifier and Type | Field and Description | 
|---|---|
| protected URI | id | 
| protected Map<String,java.util.function.Supplier<Object>> | keywords | 
| protected SchemaType | type | 
| Constructor and Description | 
|---|
| SchemaBuilder(SchemaType type) | 
| Modifier and Type | Method and Description | 
|---|---|
| T | alias(String alias) | 
| Schema | build(SchemaParser parser) | 
| T | defaultValue(Object defaultValue) | 
| T | fromJson(JsonObject object) | 
| SchemaType | getType() | 
| T | id(JsonPointer id) | 
| T | nullable() | 
| JsonObject | toJson() | 
| T | type(SchemaType type) | 
| T | with(K... keywords) | 
| T | with(K keyword) | 
| T | withKeyword(String key,
           Object value) | 
protected SchemaType type
protected Map<String,java.util.function.Supplier<Object>> keywords
protected URI id
public SchemaBuilder(SchemaType type)
public T id(JsonPointer id)
public T fromJson(JsonObject object)
public T nullable()
public T type(SchemaType type)
public SchemaType getType()
public JsonObject toJson()
public final Schema build(SchemaParser parser)
Copyright © 2021 Eclipse. All rights reserved.