com.fasterxml.jackson.databind.jsonSchema.types
Class NullSchema

java.lang.Object
  extended by com.fasterxml.jackson.databind.jsonSchema.types.JsonSchema
      extended by com.fasterxml.jackson.databind.jsonSchema.types.SimpleTypeSchema
          extended by com.fasterxml.jackson.databind.jsonSchema.types.NullSchema

public class NullSchema
extends SimpleTypeSchema

This class represents a JsonSchema as a null type

Author:
jphelan

Nested Class Summary
 
Nested classes/interfaces inherited from class com.fasterxml.jackson.databind.jsonSchema.types.JsonSchema
JsonSchema.JsonSchemaIdResolver
 
Constructor Summary
NullSchema()
           
 
Method Summary
 NullSchema asNullSchema()
          Attempt to return this JsonSchema as a NullSchema
 boolean equals(Object obj)
           
 com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatTypes getType()
           
 boolean isNullSchema()
          determine if this JsonSchema is an NullSchema.
 
Methods inherited from class com.fasterxml.jackson.databind.jsonSchema.types.SimpleTypeSchema
asSimpleTypeSchema, getDefault, getDescription, getTitle, isSimpleTypeSchema, setDefault, setDescription, setTitle
 
Methods inherited from class com.fasterxml.jackson.databind.jsonSchema.types.JsonSchema
asAnySchema, asArraySchema, asBooleanSchema, asContainerSchema, asIntegerSchema, asNumberSchema, asObjectSchema, asStringSchema, asUnionTypeSchema, asValueSchemaSchema, get$ref, get$schema, getDisallow, getExtends, getId, getRequired, isAnySchema, isArraySchema, isBooleanSchema, isContainerTypeSchema, isIntegerSchema, isNumberSchema, isObjectSchema, isStringSchema, isUnionTypeSchema, isValueTypeSchema, minimalForFormat, set$ref, set$schema, setDisallow, setExtends, setId, setRequired
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullSchema

public NullSchema()
Method Detail

asNullSchema

public NullSchema asNullSchema()
Description copied from class: JsonSchema
Attempt to return this JsonSchema as a NullSchema

Overrides:
asNullSchema in class JsonSchema
Returns:
this as a NullSchema if possible, or null otherwise

equals

public boolean equals(Object obj)
Overrides:
equals in class SimpleTypeSchema

getType

public com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatTypes getType()
Specified by:
getType in class JsonSchema

isNullSchema

public boolean isNullSchema()
Description copied from class: JsonSchema
determine if this JsonSchema is an NullSchema.

Overrides:
isNullSchema in class JsonSchema
Returns:
true if this JsonSchema is an NullSchema, false otherwise


Copyright © 2012 fasterxml.com. All Rights Reserved.