Package org.everit.json.schema
Class NullSchema
- java.lang.Object
-
- org.everit.json.schema.Schema
-
- org.everit.json.schema.NullSchema
-
public class NullSchema extends Schema
Null
schema validator.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NullSchema.Builder
Builder class forNullSchema
.
-
Field Summary
Fields Modifier and Type Field Description static NullSchema
INSTANCE
-
Fields inherited from class org.everit.json.schema.Schema
schemaLocation
-
-
Constructor Summary
Constructors Constructor Description NullSchema(NullSchema.Builder builder)
-
Method Summary
Modifier and Type Method Description static NullSchema.Builder
builder()
protected boolean
canEqual(Object other)
Since 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.boolean
equals(Object o)
int
hashCode()
-
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 Detail
-
INSTANCE
public static final NullSchema INSTANCE
-
-
Constructor Detail
-
NullSchema
public NullSchema(NullSchema.Builder builder)
-
-
Method Detail
-
builder
public static NullSchema.Builder builder()
-
-