public class TrueSchema extends EmptySchema
| Modifier and Type | Class and Description |
|---|---|
static class |
TrueSchema.Builder |
INSTANCEschemaLocation| Constructor and Description |
|---|
TrueSchema(TrueSchema.Builder builder) |
| Modifier and Type | Method and Description |
|---|---|
static TrueSchema.Builder |
builder() |
void |
describeTo(JSONPrinter writer)
Describes the instance as a JSONObject to
writer. |
String |
toString() |
canEqual, equals, hashCodedefinesProperty, failure, failure, getDefaultValue, getDescription, getId, getSchemaLocation, getTitle, hasDefaultValue, isNullable, isReadOnly, isWriteOnly, validatepublic TrueSchema(TrueSchema.Builder builder)
public static TrueSchema.Builder builder()
public void describeTo(JSONPrinter writer)
Schemawriter.
First it adds the "title , "description" and "id" properties then calls
Schema.describePropertiesTo(JSONPrinter), which will add the subclass-specific properties.
It is used by Schema.toString() to serialize the schema instance into its JSON representation.
describeTo in class Schemawriter - it will receive the schema descriptionCopyright © 2018 Everit Kft.. All rights reserved.