public class FalseSchema extends Schema
Modifier and Type | Class and Description |
---|---|
static class |
FalseSchema.Builder |
Modifier and Type | Field and Description |
---|---|
static FalseSchema |
INSTANCE |
schemaLocation
Constructor and Description |
---|
FalseSchema(FalseSchema.Builder builder)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static FalseSchema.Builder |
builder() |
void |
describeTo(JSONPrinter writer)
Describes the instance as a JSONObject to
writer . |
String |
toString() |
canEqual, definesProperty, equals, failure, failure, getDefaultValue, getDescription, getId, getLocation, getSchemaLocation, getTitle, getUnprocessedProperties, hasDefaultValue, hashCode, isNullable, isReadOnly, isWriteOnly, validate
public static final FalseSchema INSTANCE
public FalseSchema(FalseSchema.Builder builder)
builder
- the builder containing the optional title, description and id attributes of the schemapublic static FalseSchema.Builder builder()
public void describeTo(JSONPrinter writer)
Schema
writer
.
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 Schema
writer
- it will receive the schema descriptionCopyright © 2019 Everit Kft.. All rights reserved.