Package org.everit.json.schema
Class EmptySchema
java.lang.Object
org.everit.json.schema.Schema
org.everit.json.schema.EmptySchema
- Direct Known Subclasses:
TrueSchema
A schema not specifying any restrictions, ie. accepting any values.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsFields inherited from class org.everit.json.schema.Schema
schemaLocation -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic EmptySchema.Builderbuilder()protected booleanSince we add state in subclasses, but want those subclasses to be non final, this allows us to have equals methods that satisfy the equals contract.booleaninthashCode()Methods inherited from class org.everit.json.schema.Schema
definesProperty, describeTo, failure, failure, getDefaultValue, getDescription, getId, getLocation, getSchemaLocation, getTitle, getUnprocessedProperties, hasDefaultValue, isNullable, isReadOnly, isWriteOnly, toString, validate
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
EmptySchema
-
-
Method Details
-
builder
-
equals
-
canEqual
Description copied from class:SchemaSince we add state in subclasses, but want those subclasses to be non final, this allows us to have equals methods that satisfy the equals contract.http://www.artima.com/lejava/articles/equality.html
-
hashCode
public int hashCode()
-