Package org.forgerock.api.jackson
Class CrestPropertyDetailsSchemaFactoryWrapper
java.lang.Object
com.fasterxml.jackson.module.jsonSchema.factories.SchemaFactoryWrapper
org.forgerock.api.jackson.CrestPropertyDetailsSchemaFactoryWrapper
- All Implemented Interfaces:
com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWithSerializerProvider
,com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapper
,com.fasterxml.jackson.module.jsonSchema.factories.Visitor
public class CrestPropertyDetailsSchemaFactoryWrapper
extends com.fasterxml.jackson.module.jsonSchema.factories.SchemaFactoryWrapper
A
SchemaFactoryWrapper
that adds the extra CREST schema attributes once the Jackson schema generation has
been completed.-
Nested Class Summary
Nested classes/interfaces inherited from interface com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapper
com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapper.Base
-
Field Summary
Fields inherited from class com.fasterxml.jackson.module.jsonSchema.factories.SchemaFactoryWrapper
provider, schema, schemaProvider, visitorContext, visitorFactory
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.jsonFormatVisitors.JsonObjectFormatVisitor
expectObjectFormat
(com.fasterxml.jackson.databind.JavaType convertedType) Methods inherited from class com.fasterxml.jackson.module.jsonSchema.factories.SchemaFactoryWrapper
expectAnyFormat, expectArrayFormat, expectBooleanFormat, expectIntegerFormat, expectMapFormat, expectNullFormat, expectNumberFormat, expectStringFormat, finalSchema, getProvider, setProvider, setVisitorContext
-
Constructor Details
-
CrestPropertyDetailsSchemaFactoryWrapper
public CrestPropertyDetailsSchemaFactoryWrapper()Create a new wrapper. Sets theCrestJsonSchemaFactory
in the parent class'sschemaProvider
so that all of the schema objects that are created support the appropriate API Descriptor extensions.
-
-
Method Details
-
expectObjectFormat
public com.fasterxml.jackson.databind.jsonFormatVisitors.JsonObjectFormatVisitor expectObjectFormat(com.fasterxml.jackson.databind.JavaType convertedType) - Specified by:
expectObjectFormat
in interfacecom.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapper
- Overrides:
expectObjectFormat
in classcom.fasterxml.jackson.module.jsonSchema.factories.SchemaFactoryWrapper
-