com.fasterxml.jackson.databind.jsonSchema.types
Class BooleanSchema
java.lang.Object
com.fasterxml.jackson.databind.jsonSchema.types.JsonSchema
com.fasterxml.jackson.databind.jsonSchema.types.SimpleTypeSchema
com.fasterxml.jackson.databind.jsonSchema.types.ValueTypeSchema
com.fasterxml.jackson.databind.jsonSchema.types.BooleanSchema
public class BooleanSchema
- extends ValueTypeSchema
This class represents a JsonSchema of type boolean
- Author:
- jphelan
| Methods inherited from class com.fasterxml.jackson.databind.jsonSchema.types.JsonSchema |
asAnySchema, asArraySchema, asContainerSchema, asIntegerSchema, asNullSchema, asNumberSchema, asObjectSchema, asStringSchema, asUnionTypeSchema, get$ref, get$schema, getDisallow, getExtends, getId, getRequired, isAnySchema, isArraySchema, isContainerTypeSchema, isIntegerSchema, isNullSchema, isNumberSchema, isObjectSchema, isStringSchema, isUnionTypeSchema, minimalForFormat, set$ref, set$schema, setDisallow, setExtends, setId, setRequired |
BooleanSchema
public BooleanSchema()
isBooleanSchema
public boolean isBooleanSchema()
- Description copied from class:
JsonSchema
- determine if this JsonSchema is an
BooleanSchema.
- Overrides:
isBooleanSchema in class JsonSchema
- Returns:
- true if this JsonSchema is an BooleanSchema, false otherwise
getType
public com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatTypes getType()
- Specified by:
getType in class JsonSchema
asBooleanSchema
public BooleanSchema asBooleanSchema()
- Description copied from class:
JsonSchema
- Attempt to return this JsonSchema as a
BooleanSchema
- Overrides:
asBooleanSchema in class JsonSchema
- Returns:
- this as a BooleanSchema if possible, or null otherwise
Copyright © 2012 fasterxml.com. All Rights Reserved.