Package org.everit.json.schema
Class TrueSchema
java.lang.Object
org.everit.json.schema.Schema
org.everit.json.schema.EmptySchema
org.everit.json.schema.TrueSchema
- Author:
- erosb
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class org.everit.json.schema.EmptySchema
INSTANCEFields inherited from class org.everit.json.schema.Schema
schemaLocation -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic TrueSchema.Builderbuilder()voiddescribeTo(JSONPrinter writer) Describes the instance as a JSONObject towriter.booleantoString()Methods inherited from class org.everit.json.schema.EmptySchema
canEqual, hashCodeMethods inherited from class org.everit.json.schema.Schema
definesProperty, failure, failure, getDefaultValue, getDescription, getId, getLocation, getSchemaLocation, getTitle, getUnprocessedProperties, hasDefaultValue, isNullable, isReadOnly, isWriteOnly, validate
-
Constructor Details
-
TrueSchema
-
-
Method Details
-
builder
-
describeTo
Description copied from class:SchemaDescribes the instance as a JSONObject towriter.First it adds the
"title,"description"and"id"properties then callsSchema.describePropertiesTo(JSONPrinter), which will add the subclass-specific properties.It is used by
Schema.toString()to serialize the schema instance into its JSON representation.- Overrides:
describeToin classSchema- Parameters:
writer- it will receive the schema description
-
toString
-
equals
- Overrides:
equalsin classEmptySchema
-